0s autopkgtest [08:52:48]: starting date and time: 2024-11-16 08:52:48+0000 0s autopkgtest [08:52:48]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [08:52:48]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ry9114hg/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.27 lxd-armhf-10.145.243.27:autopkgtest/ubuntu/plucky/armhf 54s autopkgtest [08:53:42]: testbed dpkg architecture: armhf 56s autopkgtest [08:53:44]: testbed apt version: 2.9.8 56s autopkgtest [08:53:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 64s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 65s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1036 kB] 65s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.0 kB] 65s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 65s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 65s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [146 kB] 65s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [748 kB] 65s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [4428 B] 65s Fetched 2124 kB in 1s (1755 kB/s) 66s Reading package lists... 83s tee: /proc/self/fd/2: Permission denied 106s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 106s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 106s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 106s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 107s Reading package lists... 107s Reading package lists... 108s Building dependency tree... 108s Reading state information... 108s Calculating upgrade... 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s autopkgtest [08:54:40]: rebooting testbed after setup commands that affected boot 179s autopkgtest [08:55:47]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 206s autopkgtest [08:56:14]: @@@@@@@@@@@@@@@@@@@@ apt-source libjson-schema-modern-perl 216s Get:1 http://ftpmaster.internal/ubuntu plucky/universe libjson-schema-modern-perl 0.593-1 (dsc) [4089 B] 216s Get:2 http://ftpmaster.internal/ubuntu plucky/universe libjson-schema-modern-perl 0.593-1 (tar) [204 kB] 216s Get:3 http://ftpmaster.internal/ubuntu plucky/universe libjson-schema-modern-perl 0.593-1 (diff) [7504 B] 216s gpgv: Signature made Sun Oct 27 17:32:08 2024 UTC 216s gpgv: using RSA key D1E1316E93A760A8104D85FABB3A68018649AA06 216s gpgv: Can't check signature: No public key 216s dpkg-source: warning: cannot verify inline signature for ./libjson-schema-modern-perl_0.593-1.dsc: no acceptable signature found 216s autopkgtest [08:56:24]: testing package libjson-schema-modern-perl version 0.593-1 219s autopkgtest [08:56:27]: build not needed 221s autopkgtest [08:56:29]: test autodep8-perl-build-deps: preparing testbed 232s Reading package lists... 232s Building dependency tree... 232s Reading state information... 233s Starting pkgProblemResolver with broken count: 0 233s Starting 2 pkgProblemResolver with broken count: 0 233s Done 233s The following additional packages will be installed: 233s autoconf autodep8 automake autopoint autotools-dev build-essential cpp 233s cpp-14 cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf dctrl-tools 233s debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz g++ g++-14 233s g++-14-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-14 233s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext git git-man 233s intltool-debian javascript-common libalgorithm-c3-perl libarchive-zip-perl 233s libasan8 libautovivification-perl libb-hooks-endofscope-perl 233s libb-hooks-op-check-perl libc-dev-bin libc6-dev libcc1-0 libclass-c3-perl 233s libclass-data-inheritable-perl libclass-inspector-perl 233s libclass-method-modifiers-perl libclass-singleton-perl libclass-tiny-perl 233s libclass-xsaccessor-perl libcpan-meta-check-perl 233s libcpan-requirements-dynamic-perl libcpanel-json-xs-perl libcrypt-dev 233s libdata-optlist-perl libdata-validate-domain-perl 233s libdatetime-format-rfc3339-perl libdatetime-locale-perl libdatetime-perl 233s libdatetime-timezone-perl libdebhelper-perl libdevel-callchecker-perl 233s libdevel-cycle-perl libdevel-stacktrace-perl libdynaloader-functions-perl 233s libemail-address-xs-perl liberror-perl libeval-closure-perl 233s libexception-class-perl libexporter-tiny-perl libextutils-config-perl 233s libextutils-hascompiler-perl libextutils-helpers-perl 233s libextutils-installpaths-perl libfeature-compat-try-perl libfile-chdir-perl 233s libfile-copy-recursive-perl libfile-sharedir-perl 233s libfile-stripnondeterminism-perl libgcc-14-dev 233s libgetopt-long-descriptive-perl libgit-wrapper-perl libgomp1 233s libimport-into-perl libio-stringy-perl libisl23 libjs-bootstrap5 233s libjs-highlight.js libjs-popper.js libjson-perl libjson-schema-modern-perl 233s libmodule-build-tiny-perl libmodule-implementation-perl 233s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 233s libmpc3 libmro-compat-perl libnamespace-autoclean-perl 233s libnamespace-clean-perl libnet-domain-tld-perl libnet-idn-encode-perl 233s libpackage-stash-perl libpadwalker-perl libparams-classify-perl 233s libparams-util-perl libparams-validate-perl 233s libparams-validationcompiler-perl libpath-tiny-perl libref-util-perl 233s libref-util-xs-perl librole-tiny-perl libsafe-isa-perl libscope-guard-perl 233s libsereal-decoder-perl libsereal-encoder-perl libsereal-perl 233s libsort-versions-perl libspecio-perl libstdc++-14-dev libstrictures-perl 233s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 233s libsub-install-perl libsub-name-perl libsub-quote-perl 233s libsyntax-keyword-try-perl libtest-deep-perl 233s libtest-deep-unorderedpairs-perl libtest-fatal-perl 233s libtest-file-sharedir-perl libtest-json-schema-acceptance-perl 233s libtest-memory-cycle-perl libtest-needs-perl libtest-warnings-perl 233s libtest-without-module-perl libtest2-suite-perl libtime-moment-perl libtool 233s libtry-tiny-perl libtype-tiny-perl libtype-tiny-xs-perl libubsan1 233s libvariable-magic-perl libxs-parse-keyword-perl libxstring-perl 233s linux-libc-dev m4 pkg-perl-autopkgtest po-debconf rpcsvc-proto 233s Suggested packages: 233s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 233s cpp-14-doc debtags dh-make gcc-14-doc gcc-multilib manpages-dev flex bison 233s gdb gcc-doc gdb-arm-linux-gnueabihf gettext-doc libasprintf-dev 233s libgettextpo-dev git-daemon-run | git-daemon-sysvinit git-doc git-email 233s git-gui gitk gitweb git-cvs git-mediawiki git-svn apache2 | lighttpd | httpd 233s libc-devtools glibc-doc bootstrap-icons libjs-bootstrap5-doc 233s libscalar-number-perl libstdc++-14-doc libbareword-filehandles-perl 233s libindirect-perl libmultidimensional-perl libtool-doc gfortran 233s | fortran95-compiler gcj-jdk libdevel-lexalias-perl m4-doc libmail-box-perl 233s Recommended packages: 233s manpages manpages-dev libclass-c3-xs-perl libdevel-lexalias-perl 233s libarchive-cpio-perl node-jquery libjson-xs-perl libev-perl 233s libfuture-asyncawait-perl libio-socket-socks-perl libio-socket-ssl-perl 233s libmojo-server-fastcgi-perl libpackage-stash-xs-perl libunicode-utf8-perl 233s libreadonly-perl libmodule-pluggable-perl libltdl-dev libmail-sendmail-perl 233s The following NEW packages will be installed: 233s autoconf autodep8 automake autopkgtest-satdep autopoint autotools-dev 233s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 233s cpp-arm-linux-gnueabihf dctrl-tools debhelper debugedit dh-autoreconf 233s dh-strip-nondeterminism dwz g++ g++-14 g++-14-arm-linux-gnueabihf 233s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 233s gcc-arm-linux-gnueabihf gettext git git-man intltool-debian 233s javascript-common libalgorithm-c3-perl libarchive-zip-perl libasan8 233s libautovivification-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl 233s libc-dev-bin libc6-dev libcc1-0 libclass-c3-perl 233s libclass-data-inheritable-perl libclass-inspector-perl 233s libclass-method-modifiers-perl libclass-singleton-perl libclass-tiny-perl 233s libclass-xsaccessor-perl libcpan-meta-check-perl 233s libcpan-requirements-dynamic-perl libcpanel-json-xs-perl libcrypt-dev 233s libdata-optlist-perl libdata-validate-domain-perl 233s libdatetime-format-rfc3339-perl libdatetime-locale-perl libdatetime-perl 233s libdatetime-timezone-perl libdebhelper-perl libdevel-callchecker-perl 233s libdevel-cycle-perl libdevel-stacktrace-perl libdynaloader-functions-perl 233s libemail-address-xs-perl liberror-perl libeval-closure-perl 233s libexception-class-perl libexporter-tiny-perl libextutils-config-perl 233s libextutils-hascompiler-perl libextutils-helpers-perl 233s libextutils-installpaths-perl libfeature-compat-try-perl libfile-chdir-perl 233s libfile-copy-recursive-perl libfile-sharedir-perl 233s libfile-stripnondeterminism-perl libgcc-14-dev 233s libgetopt-long-descriptive-perl libgit-wrapper-perl libgomp1 233s libimport-into-perl libio-stringy-perl libisl23 libjs-bootstrap5 233s libjs-highlight.js libjs-popper.js libjson-perl libjson-schema-modern-perl 233s libmodule-build-tiny-perl libmodule-implementation-perl 233s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 233s libmpc3 libmro-compat-perl libnamespace-autoclean-perl 233s libnamespace-clean-perl libnet-domain-tld-perl libnet-idn-encode-perl 233s libpackage-stash-perl libpadwalker-perl libparams-classify-perl 233s libparams-util-perl libparams-validate-perl 233s libparams-validationcompiler-perl libpath-tiny-perl libref-util-perl 233s libref-util-xs-perl librole-tiny-perl libsafe-isa-perl libscope-guard-perl 233s libsereal-decoder-perl libsereal-encoder-perl libsereal-perl 233s libsort-versions-perl libspecio-perl libstdc++-14-dev libstrictures-perl 233s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 233s libsub-install-perl libsub-name-perl libsub-quote-perl 233s libsyntax-keyword-try-perl libtest-deep-perl 233s libtest-deep-unorderedpairs-perl libtest-fatal-perl 233s libtest-file-sharedir-perl libtest-json-schema-acceptance-perl 233s libtest-memory-cycle-perl libtest-needs-perl libtest-warnings-perl 233s libtest-without-module-perl libtest2-suite-perl libtime-moment-perl libtool 233s libtry-tiny-perl libtype-tiny-perl libtype-tiny-xs-perl libubsan1 233s libvariable-magic-perl libxs-parse-keyword-perl libxstring-perl 233s linux-libc-dev m4 pkg-perl-autopkgtest po-debconf rpcsvc-proto 234s 0 upgraded, 149 newly installed, 0 to remove and 0 not upgraded. 234s Need to get 68.1 MB/68.1 MB of archives. 234s After this operation, 239 MB of additional disk space will be used. 234s Get:1 /tmp/autopkgtest.vuKWDd/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [1184 B] 234s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf m4 armhf 1.4.19-4build1 [235 kB] 234s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf autoconf all 2.72-3 [382 kB] 234s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf dctrl-tools armhf 2.24-3build3 [94.7 kB] 234s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf autodep8 all 0.28+nmu1ubuntu1 [13.7 kB] 234s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf autotools-dev all 20220109.1 [44.9 kB] 234s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf automake all 1:1.16.5-1.3ubuntu1 [558 kB] 234s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf autopoint all 0.22.5-2 [616 kB] 234s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-1ubuntu3 [19.2 kB] 234s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 234s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-4build1 [120 kB] 234s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 234s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-1ubuntu3 [1370 kB] 234s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 234s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 234s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [9219 kB] 235s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-8ubuntu1 [1032 B] 235s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 235s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 235s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-8ubuntu1 [43.3 kB] 235s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-8ubuntu1 [125 kB] 235s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-8ubuntu1 [2901 kB] 235s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-8ubuntu1 [1150 kB] 235s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-8ubuntu1 [897 kB] 235s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [18.0 MB] 235s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-8ubuntu1 [498 kB] 235s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 235s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 235s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-8ubuntu1 [2569 kB] 235s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [10.5 MB] 235s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-8ubuntu1 [19.9 kB] 235s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 235s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 235s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 235s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 235s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libtool all 2.4.7-7build1 [166 kB] 235s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf dh-autoreconf all 20 [16.1 kB] 235s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 235s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 235s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf dh-strip-nondeterminism all 1.14.0-1 [5058 B] 235s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf debugedit armhf 1:5.1-1 [46.5 kB] 235s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf dwz armhf 0.15-1build6 [116 kB] 235s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf gettext armhf 0.22.5-2 [995 kB] 235s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 236s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 236s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf debhelper all 13.20ubuntu1 [893 kB] 236s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf liberror-perl all 0.17029-2 [25.6 kB] 236s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf git-man all 1:2.45.2-1ubuntu1 [1122 kB] 236s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf git armhf 1:2.45.2-1ubuntu1 [4504 kB] 236s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf javascript-common all 11+nmu1 [5936 B] 236s Get:51 http://ftpmaster.internal/ubuntu plucky/universe armhf libalgorithm-c3-perl all 0.11-2 [10.2 kB] 236s Get:52 http://ftpmaster.internal/ubuntu plucky/universe armhf libautovivification-perl armhf 0.18-2build5 [20.8 kB] 236s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf libb-hooks-op-check-perl armhf 0.22-3build2 [9174 B] 236s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libdynaloader-functions-perl all 0.004-1 [11.4 kB] 236s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf libdevel-callchecker-perl armhf 0.009-1build1 [14.0 kB] 236s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf libparams-classify-perl armhf 0.015-2build6 [18.8 kB] 236s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf libmodule-runtime-perl all 0.016-2 [16.4 kB] 236s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf libtry-tiny-perl all 0.32-1 [21.2 kB] 236s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf libmodule-implementation-perl all 0.09-2 [12.0 kB] 236s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 236s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libvariable-magic-perl armhf 0.64-1build1 [33.4 kB] 236s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 236s Get:63 http://ftpmaster.internal/ubuntu plucky/universe armhf libclass-c3-perl all 0.35-2 [18.4 kB] 236s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf libclass-data-inheritable-perl all 0.10-1 [8038 B] 236s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf libclass-inspector-perl all 1.36-3 [15.4 kB] 236s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 236s Get:67 http://ftpmaster.internal/ubuntu plucky/universe armhf libclass-singleton-perl all 1.6-2 [11.5 kB] 236s Get:68 http://ftpmaster.internal/ubuntu plucky/universe armhf libclass-tiny-perl all 1.008-2 [16.4 kB] 236s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libclass-xsaccessor-perl armhf 1.19-4build5 [32.3 kB] 236s Get:70 http://ftpmaster.internal/ubuntu plucky/universe armhf libcpan-meta-check-perl all 0.018-1 [6090 B] 236s Get:71 http://ftpmaster.internal/ubuntu plucky/universe armhf libextutils-config-perl all 0.010-1 [7806 B] 236s Get:72 http://ftpmaster.internal/ubuntu plucky/universe armhf libextutils-hascompiler-perl all 0.025-1 [7738 B] 236s Get:73 http://ftpmaster.internal/ubuntu plucky/universe armhf libcpan-requirements-dynamic-perl all 0.001-2 [8206 B] 236s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf libcpanel-json-xs-perl armhf 4.38-1build1 [113 kB] 236s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf libparams-util-perl armhf 1.102-3build1 [20.5 kB] 236s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-install-perl all 0.929-1 [9764 B] 236s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libdata-optlist-perl all 0.114-1 [9708 B] 236s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libnet-domain-tld-perl all 1.75-4 [29.0 kB] 236s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libdata-validate-domain-perl all 0.15-1 [10.4 kB] 236s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-sharedir-perl all 1.118-3 [14.0 kB] 236s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libpackage-stash-perl all 0.40-1 [19.5 kB] 236s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-identify-perl armhf 0.14-3build4 [9396 B] 236s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-name-perl armhf 0.27-1build4 [10.3 kB] 236s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libnamespace-clean-perl all 0.27-2 [14.0 kB] 236s Get:85 http://ftpmaster.internal/ubuntu plucky/universe armhf libnamespace-autoclean-perl all 0.31-1 [11.9 kB] 236s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-exporter-perl all 0.990-1 [49.0 kB] 236s Get:87 http://ftpmaster.internal/ubuntu plucky/universe armhf libeval-closure-perl all 0.14-3 [10.1 kB] 236s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 236s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libexception-class-perl all 1.45-1 [28.6 kB] 236s Get:90 http://ftpmaster.internal/ubuntu plucky/universe armhf libparams-validationcompiler-perl all 0.31-1 [28.3 kB] 236s Get:91 http://ftpmaster.internal/ubuntu plucky/universe armhf libmro-compat-perl all 0.15-2 [10.1 kB] 236s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf librole-tiny-perl all 2.002004-1 [16.3 kB] 236s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 236s Get:94 http://ftpmaster.internal/ubuntu plucky/universe armhf libxstring-perl armhf 0.005-2build4 [7650 B] 236s Get:95 http://ftpmaster.internal/ubuntu plucky/universe armhf libspecio-perl all 0.48-1 [137 kB] 236s Get:96 http://ftpmaster.internal/ubuntu plucky/universe armhf libdatetime-locale-perl all 1:1.41-1 [3193 kB] 236s Get:97 http://ftpmaster.internal/ubuntu plucky/universe armhf libdatetime-timezone-perl all 1:2.63-2+2024b [259 kB] 236s Get:98 http://ftpmaster.internal/ubuntu plucky/universe armhf libdatetime-perl armhf 2:1.65-1build3 [98.3 kB] 236s Get:99 http://ftpmaster.internal/ubuntu plucky/universe armhf libdatetime-format-rfc3339-perl all 1.8.0-1 [8156 B] 236s Get:100 http://ftpmaster.internal/ubuntu plucky/universe armhf libdevel-cycle-perl all 1.12-2 [10.1 kB] 236s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libemail-address-xs-perl armhf 1.05-1build5 [26.5 kB] 236s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libexporter-tiny-perl all 1.006002-1 [36.8 kB] 237s Get:103 http://ftpmaster.internal/ubuntu plucky/universe armhf libextutils-helpers-perl all 0.028-1 [10.8 kB] 237s Get:104 http://ftpmaster.internal/ubuntu plucky/universe armhf libextutils-installpaths-perl all 0.014-1 [13.2 kB] 237s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf libxs-parse-keyword-perl armhf 0.46-1 [58.4 kB] 237s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libsyntax-keyword-try-perl armhf 0.30-1 [24.0 kB] 237s Get:107 http://ftpmaster.internal/ubuntu plucky/universe armhf libfeature-compat-try-perl all 0.05-1 [9998 B] 237s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-chdir-perl all 0.1008-1.2 [10.4 kB] 237s Get:109 http://ftpmaster.internal/ubuntu plucky/universe armhf libfile-copy-recursive-perl all 0.45-4 [16.5 kB] 237s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libio-stringy-perl all 2.113-2 [45.3 kB] 237s Get:111 http://ftpmaster.internal/ubuntu plucky/universe armhf libparams-validate-perl armhf 1.31-2build4 [52.9 kB] 237s Get:112 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf libgetopt-long-descriptive-perl all 0.115-1 [24.9 kB] 237s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf libsort-versions-perl all 1.62-3 [7378 B] 237s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libgit-wrapper-perl all 0.048-2 [29.5 kB] 237s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libimport-into-perl all 1.002005-2 [10.7 kB] 237s Get:116 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-popper.js all 1.16.1+ds-6 [54.1 kB] 237s Get:117 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-bootstrap5 all 5.3.3+dfsg-1 [309 kB] 237s Get:118 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-highlight.js all 9.18.5+dfsg1-2 [385 kB] 237s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-perl all 4.10000-1 [81.9 kB] 237s Get:120 http://ftpmaster.internal/ubuntu plucky/universe armhf libmojolicious-perl all 9.38+dfsg-1 [760 kB] 237s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf libmoo-perl all 2.005005-1 [47.4 kB] 237s Get:122 http://ftpmaster.internal/ubuntu plucky/universe armhf libtype-tiny-perl all 2.004000-1 [354 kB] 237s Get:123 http://ftpmaster.internal/ubuntu plucky/universe armhf libmoox-typetiny-perl all 0.002003-4 [5930 B] 237s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libpath-tiny-perl all 0.146-1 [47.5 kB] 237s Get:125 http://ftpmaster.internal/ubuntu plucky/universe armhf libref-util-perl all 0.204-2 [15.1 kB] 237s Get:126 http://ftpmaster.internal/ubuntu plucky/universe armhf libsafe-isa-perl all 1.000010-1 [7684 B] 237s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libstrictures-perl all 2.000006-1 [16.3 kB] 237s Get:128 http://ftpmaster.internal/ubuntu plucky/universe armhf libjson-schema-modern-perl all 0.593-1 [100 kB] 237s Get:129 http://ftpmaster.internal/ubuntu plucky/universe armhf libmodule-build-tiny-perl all 0.048-1 [9710 B] 237s Get:130 http://ftpmaster.internal/ubuntu plucky/universe armhf libnet-idn-encode-perl armhf 2.500-5build1 [83.7 kB] 237s Get:131 http://ftpmaster.internal/ubuntu plucky/universe armhf libpadwalker-perl armhf 2.5-1build7 [14.0 kB] 237s Get:132 http://ftpmaster.internal/ubuntu plucky/universe armhf libref-util-xs-perl armhf 0.117-2build5 [11.5 kB] 237s Get:133 http://ftpmaster.internal/ubuntu plucky/universe armhf libscope-guard-perl all 0.21-2 [7730 B] 237s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libsereal-decoder-perl armhf 5.004+ds-1build4 [94.1 kB] 237s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf libsereal-encoder-perl armhf 5.004+ds-1build4 [96.1 kB] 237s Get:136 http://ftpmaster.internal/ubuntu plucky/universe armhf libsereal-perl all 5.004-1 [8770 B] 237s Get:137 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest-deep-perl all 1.204-1 [47.1 kB] 237s Get:138 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest-deep-unorderedpairs-perl all 0.006-3 [9052 B] 237s Get:139 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest-fatal-perl all 0.017-1 [12.2 kB] 237s Get:140 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest-file-sharedir-perl all 1.001002-2 [26.3 kB] 237s Get:141 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest2-suite-perl all 0.000163-1 [377 kB] 237s Get:142 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest-json-schema-acceptance-perl all 1.026-1 [89.6 kB] 237s Get:143 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest-memory-cycle-perl all 1.06-2 [11.0 kB] 237s Get:144 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest-needs-perl all 0.002010-1 [8530 B] 237s Get:145 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest-warnings-perl all 0.033-1 [18.9 kB] 237s Get:146 http://ftpmaster.internal/ubuntu plucky/universe armhf libtest-without-module-perl all 0.23-1 [9732 B] 237s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf libtime-moment-perl armhf 0.44-2build5 [70.6 kB] 237s Get:148 http://ftpmaster.internal/ubuntu plucky/universe armhf libtype-tiny-xs-perl armhf 0.025-2build1 [23.5 kB] 237s Get:149 http://ftpmaster.internal/ubuntu plucky/universe armhf pkg-perl-autopkgtest all 0.80 [18.7 kB] 238s Fetched 68.1 MB in 4s (18.4 MB/s) 238s Selecting previously unselected package m4. 238s (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 ... 59573 files and directories currently installed.) 238s Preparing to unpack .../000-m4_1.4.19-4build1_armhf.deb ... 238s Unpacking m4 (1.4.19-4build1) ... 238s Selecting previously unselected package autoconf. 238s Preparing to unpack .../001-autoconf_2.72-3_all.deb ... 238s Unpacking autoconf (2.72-3) ... 238s Selecting previously unselected package dctrl-tools. 238s Preparing to unpack .../002-dctrl-tools_2.24-3build3_armhf.deb ... 238s Unpacking dctrl-tools (2.24-3build3) ... 238s Selecting previously unselected package autodep8. 238s Preparing to unpack .../003-autodep8_0.28+nmu1ubuntu1_all.deb ... 238s Unpacking autodep8 (0.28+nmu1ubuntu1) ... 238s Selecting previously unselected package autotools-dev. 238s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 238s Unpacking autotools-dev (20220109.1) ... 238s Selecting previously unselected package automake. 238s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 238s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 239s Selecting previously unselected package autopoint. 239s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 239s Unpacking autopoint (0.22.5-2) ... 239s Selecting previously unselected package libc-dev-bin. 239s Preparing to unpack .../007-libc-dev-bin_2.40-1ubuntu3_armhf.deb ... 239s Unpacking libc-dev-bin (2.40-1ubuntu3) ... 239s Selecting previously unselected package linux-libc-dev:armhf. 239s Preparing to unpack .../008-linux-libc-dev_6.11.0-8.8_armhf.deb ... 239s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 239s Selecting previously unselected package libcrypt-dev:armhf. 239s Preparing to unpack .../009-libcrypt-dev_1%3a4.4.36-4build1_armhf.deb ... 239s Unpacking libcrypt-dev:armhf (1:4.4.36-4build1) ... 239s Selecting previously unselected package rpcsvc-proto. 239s Preparing to unpack .../010-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 239s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 239s Selecting previously unselected package libc6-dev:armhf. 239s Preparing to unpack .../011-libc6-dev_2.40-1ubuntu3_armhf.deb ... 239s Unpacking libc6-dev:armhf (2.40-1ubuntu3) ... 239s Selecting previously unselected package libisl23:armhf. 239s Preparing to unpack .../012-libisl23_0.27-1_armhf.deb ... 239s Unpacking libisl23:armhf (0.27-1) ... 239s Selecting previously unselected package libmpc3:armhf. 239s Preparing to unpack .../013-libmpc3_1.3.1-1build2_armhf.deb ... 239s Unpacking libmpc3:armhf (1.3.1-1build2) ... 239s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 239s Preparing to unpack .../014-cpp-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package cpp-14. 239s Preparing to unpack .../015-cpp-14_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package cpp-arm-linux-gnueabihf. 239s Preparing to unpack .../016-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 239s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 239s Selecting previously unselected package cpp. 239s Preparing to unpack .../017-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 239s Unpacking cpp (4:14.1.0-2ubuntu1) ... 239s Selecting previously unselected package libcc1-0:armhf. 239s Preparing to unpack .../018-libcc1-0_14.2.0-8ubuntu1_armhf.deb ... 239s Unpacking libcc1-0:armhf (14.2.0-8ubuntu1) ... 239s Selecting previously unselected package libgomp1:armhf. 240s Preparing to unpack .../019-libgomp1_14.2.0-8ubuntu1_armhf.deb ... 240s Unpacking libgomp1:armhf (14.2.0-8ubuntu1) ... 240s Selecting previously unselected package libasan8:armhf. 240s Preparing to unpack .../020-libasan8_14.2.0-8ubuntu1_armhf.deb ... 240s Unpacking libasan8:armhf (14.2.0-8ubuntu1) ... 240s Selecting previously unselected package libubsan1:armhf. 240s Preparing to unpack .../021-libubsan1_14.2.0-8ubuntu1_armhf.deb ... 240s Unpacking libubsan1:armhf (14.2.0-8ubuntu1) ... 240s Selecting previously unselected package libgcc-14-dev:armhf. 240s Preparing to unpack .../022-libgcc-14-dev_14.2.0-8ubuntu1_armhf.deb ... 240s Unpacking libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 240s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 240s Preparing to unpack .../023-gcc-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 240s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 240s Selecting previously unselected package gcc-14. 240s Preparing to unpack .../024-gcc-14_14.2.0-8ubuntu1_armhf.deb ... 240s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 240s Selecting previously unselected package gcc-arm-linux-gnueabihf. 240s Preparing to unpack .../025-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 240s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 241s Selecting previously unselected package gcc. 241s Preparing to unpack .../026-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 241s Unpacking gcc (4:14.1.0-2ubuntu1) ... 241s Selecting previously unselected package libstdc++-14-dev:armhf. 241s Preparing to unpack .../027-libstdc++-14-dev_14.2.0-8ubuntu1_armhf.deb ... 241s Unpacking libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 241s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 241s Preparing to unpack .../028-g++-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 241s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 241s Selecting previously unselected package g++-14. 241s Preparing to unpack .../029-g++-14_14.2.0-8ubuntu1_armhf.deb ... 241s Unpacking g++-14 (14.2.0-8ubuntu1) ... 241s Selecting previously unselected package g++-arm-linux-gnueabihf. 241s Preparing to unpack .../030-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 241s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 241s Selecting previously unselected package g++. 241s Preparing to unpack .../031-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 241s Unpacking g++ (4:14.1.0-2ubuntu1) ... 241s Selecting previously unselected package build-essential. 241s Preparing to unpack .../032-build-essential_12.10ubuntu1_armhf.deb ... 241s Unpacking build-essential (12.10ubuntu1) ... 241s Selecting previously unselected package libdebhelper-perl. 241s Preparing to unpack .../033-libdebhelper-perl_13.20ubuntu1_all.deb ... 241s Unpacking libdebhelper-perl (13.20ubuntu1) ... 241s Selecting previously unselected package libtool. 241s Preparing to unpack .../034-libtool_2.4.7-7build1_all.deb ... 241s Unpacking libtool (2.4.7-7build1) ... 241s Selecting previously unselected package dh-autoreconf. 241s Preparing to unpack .../035-dh-autoreconf_20_all.deb ... 241s Unpacking dh-autoreconf (20) ... 241s Selecting previously unselected package libarchive-zip-perl. 241s Preparing to unpack .../036-libarchive-zip-perl_1.68-1_all.deb ... 241s Unpacking libarchive-zip-perl (1.68-1) ... 241s Selecting previously unselected package libfile-stripnondeterminism-perl. 242s Preparing to unpack .../037-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 242s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 242s Selecting previously unselected package dh-strip-nondeterminism. 242s Preparing to unpack .../038-dh-strip-nondeterminism_1.14.0-1_all.deb ... 242s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 242s Selecting previously unselected package debugedit. 242s Preparing to unpack .../039-debugedit_1%3a5.1-1_armhf.deb ... 242s Unpacking debugedit (1:5.1-1) ... 242s Selecting previously unselected package dwz. 242s Preparing to unpack .../040-dwz_0.15-1build6_armhf.deb ... 242s Unpacking dwz (0.15-1build6) ... 242s Selecting previously unselected package gettext. 242s Preparing to unpack .../041-gettext_0.22.5-2_armhf.deb ... 242s Unpacking gettext (0.22.5-2) ... 242s Selecting previously unselected package intltool-debian. 242s Preparing to unpack .../042-intltool-debian_0.35.0+20060710.6_all.deb ... 242s Unpacking intltool-debian (0.35.0+20060710.6) ... 242s Selecting previously unselected package po-debconf. 242s Preparing to unpack .../043-po-debconf_1.0.21+nmu1_all.deb ... 242s Unpacking po-debconf (1.0.21+nmu1) ... 242s Selecting previously unselected package debhelper. 242s Preparing to unpack .../044-debhelper_13.20ubuntu1_all.deb ... 242s Unpacking debhelper (13.20ubuntu1) ... 242s Selecting previously unselected package liberror-perl. 242s Preparing to unpack .../045-liberror-perl_0.17029-2_all.deb ... 242s Unpacking liberror-perl (0.17029-2) ... 242s Selecting previously unselected package git-man. 242s Preparing to unpack .../046-git-man_1%3a2.45.2-1ubuntu1_all.deb ... 242s Unpacking git-man (1:2.45.2-1ubuntu1) ... 242s Selecting previously unselected package git. 242s Preparing to unpack .../047-git_1%3a2.45.2-1ubuntu1_armhf.deb ... 242s Unpacking git (1:2.45.2-1ubuntu1) ... 242s Selecting previously unselected package javascript-common. 242s Preparing to unpack .../048-javascript-common_11+nmu1_all.deb ... 242s Unpacking javascript-common (11+nmu1) ... 242s Selecting previously unselected package libalgorithm-c3-perl. 242s Preparing to unpack .../049-libalgorithm-c3-perl_0.11-2_all.deb ... 242s Unpacking libalgorithm-c3-perl (0.11-2) ... 242s Selecting previously unselected package libautovivification-perl:armhf. 242s Preparing to unpack .../050-libautovivification-perl_0.18-2build5_armhf.deb ... 242s Unpacking libautovivification-perl:armhf (0.18-2build5) ... 242s Selecting previously unselected package libb-hooks-op-check-perl:armhf. 242s Preparing to unpack .../051-libb-hooks-op-check-perl_0.22-3build2_armhf.deb ... 242s Unpacking libb-hooks-op-check-perl:armhf (0.22-3build2) ... 242s Selecting previously unselected package libdynaloader-functions-perl. 242s Preparing to unpack .../052-libdynaloader-functions-perl_0.004-1_all.deb ... 242s Unpacking libdynaloader-functions-perl (0.004-1) ... 242s Selecting previously unselected package libdevel-callchecker-perl:armhf. 243s Preparing to unpack .../053-libdevel-callchecker-perl_0.009-1build1_armhf.deb ... 243s Unpacking libdevel-callchecker-perl:armhf (0.009-1build1) ... 243s Selecting previously unselected package libparams-classify-perl:armhf. 243s Preparing to unpack .../054-libparams-classify-perl_0.015-2build6_armhf.deb ... 243s Unpacking libparams-classify-perl:armhf (0.015-2build6) ... 243s Selecting previously unselected package libmodule-runtime-perl. 243s Preparing to unpack .../055-libmodule-runtime-perl_0.016-2_all.deb ... 243s Unpacking libmodule-runtime-perl (0.016-2) ... 243s Selecting previously unselected package libtry-tiny-perl. 243s Preparing to unpack .../056-libtry-tiny-perl_0.32-1_all.deb ... 243s Unpacking libtry-tiny-perl (0.32-1) ... 243s Selecting previously unselected package libmodule-implementation-perl. 243s Preparing to unpack .../057-libmodule-implementation-perl_0.09-2_all.deb ... 243s Unpacking libmodule-implementation-perl (0.09-2) ... 243s Selecting previously unselected package libsub-exporter-progressive-perl. 243s Preparing to unpack .../058-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 243s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 243s Selecting previously unselected package libvariable-magic-perl. 243s Preparing to unpack .../059-libvariable-magic-perl_0.64-1build1_armhf.deb ... 243s Unpacking libvariable-magic-perl (0.64-1build1) ... 243s Selecting previously unselected package libb-hooks-endofscope-perl. 243s Preparing to unpack .../060-libb-hooks-endofscope-perl_0.28-1_all.deb ... 243s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 243s Selecting previously unselected package libclass-c3-perl. 243s Preparing to unpack .../061-libclass-c3-perl_0.35-2_all.deb ... 243s Unpacking libclass-c3-perl (0.35-2) ... 243s Selecting previously unselected package libclass-data-inheritable-perl. 243s Preparing to unpack .../062-libclass-data-inheritable-perl_0.10-1_all.deb ... 243s Unpacking libclass-data-inheritable-perl (0.10-1) ... 243s Selecting previously unselected package libclass-inspector-perl. 243s Preparing to unpack .../063-libclass-inspector-perl_1.36-3_all.deb ... 243s Unpacking libclass-inspector-perl (1.36-3) ... 243s Selecting previously unselected package libclass-method-modifiers-perl. 243s Preparing to unpack .../064-libclass-method-modifiers-perl_2.15-1_all.deb ... 243s Unpacking libclass-method-modifiers-perl (2.15-1) ... 243s Selecting previously unselected package libclass-singleton-perl. 243s Preparing to unpack .../065-libclass-singleton-perl_1.6-2_all.deb ... 243s Unpacking libclass-singleton-perl (1.6-2) ... 243s Selecting previously unselected package libclass-tiny-perl. 243s Preparing to unpack .../066-libclass-tiny-perl_1.008-2_all.deb ... 243s Unpacking libclass-tiny-perl (1.008-2) ... 243s Selecting previously unselected package libclass-xsaccessor-perl. 243s Preparing to unpack .../067-libclass-xsaccessor-perl_1.19-4build5_armhf.deb ... 243s Unpacking libclass-xsaccessor-perl (1.19-4build5) ... 243s Selecting previously unselected package libcpan-meta-check-perl. 243s Preparing to unpack .../068-libcpan-meta-check-perl_0.018-1_all.deb ... 243s Unpacking libcpan-meta-check-perl (0.018-1) ... 243s Selecting previously unselected package libextutils-config-perl. 243s Preparing to unpack .../069-libextutils-config-perl_0.010-1_all.deb ... 243s Unpacking libextutils-config-perl (0.010-1) ... 243s Selecting previously unselected package libextutils-hascompiler-perl. 243s Preparing to unpack .../070-libextutils-hascompiler-perl_0.025-1_all.deb ... 243s Unpacking libextutils-hascompiler-perl (0.025-1) ... 243s Selecting previously unselected package libcpan-requirements-dynamic-perl. 243s Preparing to unpack .../071-libcpan-requirements-dynamic-perl_0.001-2_all.deb ... 243s Unpacking libcpan-requirements-dynamic-perl (0.001-2) ... 243s Selecting previously unselected package libcpanel-json-xs-perl:armhf. 243s Preparing to unpack .../072-libcpanel-json-xs-perl_4.38-1build1_armhf.deb ... 243s Unpacking libcpanel-json-xs-perl:armhf (4.38-1build1) ... 243s Selecting previously unselected package libparams-util-perl. 243s Preparing to unpack .../073-libparams-util-perl_1.102-3build1_armhf.deb ... 243s Unpacking libparams-util-perl (1.102-3build1) ... 243s Selecting previously unselected package libsub-install-perl. 243s Preparing to unpack .../074-libsub-install-perl_0.929-1_all.deb ... 243s Unpacking libsub-install-perl (0.929-1) ... 243s Selecting previously unselected package libdata-optlist-perl. 243s Preparing to unpack .../075-libdata-optlist-perl_0.114-1_all.deb ... 243s Unpacking libdata-optlist-perl (0.114-1) ... 243s Selecting previously unselected package libnet-domain-tld-perl. 243s Preparing to unpack .../076-libnet-domain-tld-perl_1.75-4_all.deb ... 243s Unpacking libnet-domain-tld-perl (1.75-4) ... 243s Selecting previously unselected package libdata-validate-domain-perl. 243s Preparing to unpack .../077-libdata-validate-domain-perl_0.15-1_all.deb ... 243s Unpacking libdata-validate-domain-perl (0.15-1) ... 243s Selecting previously unselected package libfile-sharedir-perl. 243s Preparing to unpack .../078-libfile-sharedir-perl_1.118-3_all.deb ... 243s Unpacking libfile-sharedir-perl (1.118-3) ... 243s Selecting previously unselected package libpackage-stash-perl. 244s Preparing to unpack .../079-libpackage-stash-perl_0.40-1_all.deb ... 244s Unpacking libpackage-stash-perl (0.40-1) ... 244s Selecting previously unselected package libsub-identify-perl. 244s Preparing to unpack .../080-libsub-identify-perl_0.14-3build4_armhf.deb ... 244s Unpacking libsub-identify-perl (0.14-3build4) ... 244s Selecting previously unselected package libsub-name-perl:armhf. 244s Preparing to unpack .../081-libsub-name-perl_0.27-1build4_armhf.deb ... 244s Unpacking libsub-name-perl:armhf (0.27-1build4) ... 244s Selecting previously unselected package libnamespace-clean-perl. 244s Preparing to unpack .../082-libnamespace-clean-perl_0.27-2_all.deb ... 244s Unpacking libnamespace-clean-perl (0.27-2) ... 244s Selecting previously unselected package libnamespace-autoclean-perl. 244s Preparing to unpack .../083-libnamespace-autoclean-perl_0.31-1_all.deb ... 244s Unpacking libnamespace-autoclean-perl (0.31-1) ... 244s Selecting previously unselected package libsub-exporter-perl. 244s Preparing to unpack .../084-libsub-exporter-perl_0.990-1_all.deb ... 244s Unpacking libsub-exporter-perl (0.990-1) ... 244s Selecting previously unselected package libeval-closure-perl. 244s Preparing to unpack .../085-libeval-closure-perl_0.14-3_all.deb ... 244s Unpacking libeval-closure-perl (0.14-3) ... 244s Selecting previously unselected package libdevel-stacktrace-perl. 244s Preparing to unpack .../086-libdevel-stacktrace-perl_2.0500-1_all.deb ... 244s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 244s Selecting previously unselected package libexception-class-perl. 244s Preparing to unpack .../087-libexception-class-perl_1.45-1_all.deb ... 244s Unpacking libexception-class-perl (1.45-1) ... 244s Selecting previously unselected package libparams-validationcompiler-perl. 244s Preparing to unpack .../088-libparams-validationcompiler-perl_0.31-1_all.deb ... 244s Unpacking libparams-validationcompiler-perl (0.31-1) ... 244s Selecting previously unselected package libmro-compat-perl. 244s Preparing to unpack .../089-libmro-compat-perl_0.15-2_all.deb ... 244s Unpacking libmro-compat-perl (0.15-2) ... 244s Selecting previously unselected package librole-tiny-perl. 244s Preparing to unpack .../090-librole-tiny-perl_2.002004-1_all.deb ... 244s Unpacking librole-tiny-perl (2.002004-1) ... 244s Selecting previously unselected package libsub-quote-perl. 244s Preparing to unpack .../091-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 244s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 244s Selecting previously unselected package libxstring-perl:armhf. 244s Preparing to unpack .../092-libxstring-perl_0.005-2build4_armhf.deb ... 244s Unpacking libxstring-perl:armhf (0.005-2build4) ... 244s Selecting previously unselected package libspecio-perl. 244s Preparing to unpack .../093-libspecio-perl_0.48-1_all.deb ... 244s Unpacking libspecio-perl (0.48-1) ... 244s Selecting previously unselected package libdatetime-locale-perl. 244s Preparing to unpack .../094-libdatetime-locale-perl_1%3a1.41-1_all.deb ... 244s Unpacking libdatetime-locale-perl (1:1.41-1) ... 245s Selecting previously unselected package libdatetime-timezone-perl. 245s Preparing to unpack .../095-libdatetime-timezone-perl_1%3a2.63-2+2024b_all.deb ... 245s Unpacking libdatetime-timezone-perl (1:2.63-2+2024b) ... 245s Selecting previously unselected package libdatetime-perl. 245s Preparing to unpack .../096-libdatetime-perl_2%3a1.65-1build3_armhf.deb ... 245s Unpacking libdatetime-perl (2:1.65-1build3) ... 245s Selecting previously unselected package libdatetime-format-rfc3339-perl. 245s Preparing to unpack .../097-libdatetime-format-rfc3339-perl_1.8.0-1_all.deb ... 245s Unpacking libdatetime-format-rfc3339-perl (1.8.0-1) ... 245s Selecting previously unselected package libdevel-cycle-perl. 245s Preparing to unpack .../098-libdevel-cycle-perl_1.12-2_all.deb ... 245s Unpacking libdevel-cycle-perl (1.12-2) ... 245s Selecting previously unselected package libemail-address-xs-perl. 245s Preparing to unpack .../099-libemail-address-xs-perl_1.05-1build5_armhf.deb ... 245s Unpacking libemail-address-xs-perl (1.05-1build5) ... 245s Selecting previously unselected package libexporter-tiny-perl. 245s Preparing to unpack .../100-libexporter-tiny-perl_1.006002-1_all.deb ... 245s Unpacking libexporter-tiny-perl (1.006002-1) ... 245s Selecting previously unselected package libextutils-helpers-perl. 245s Preparing to unpack .../101-libextutils-helpers-perl_0.028-1_all.deb ... 245s Unpacking libextutils-helpers-perl (0.028-1) ... 245s Selecting previously unselected package libextutils-installpaths-perl. 245s Preparing to unpack .../102-libextutils-installpaths-perl_0.014-1_all.deb ... 245s Unpacking libextutils-installpaths-perl (0.014-1) ... 245s Selecting previously unselected package libxs-parse-keyword-perl. 245s Preparing to unpack .../103-libxs-parse-keyword-perl_0.46-1_armhf.deb ... 245s Unpacking libxs-parse-keyword-perl (0.46-1) ... 245s Selecting previously unselected package libsyntax-keyword-try-perl. 245s Preparing to unpack .../104-libsyntax-keyword-try-perl_0.30-1_armhf.deb ... 245s Unpacking libsyntax-keyword-try-perl (0.30-1) ... 245s Selecting previously unselected package libfeature-compat-try-perl. 245s Preparing to unpack .../105-libfeature-compat-try-perl_0.05-1_all.deb ... 245s Unpacking libfeature-compat-try-perl (0.05-1) ... 245s Selecting previously unselected package libfile-chdir-perl. 245s Preparing to unpack .../106-libfile-chdir-perl_0.1008-1.2_all.deb ... 245s Unpacking libfile-chdir-perl (0.1008-1.2) ... 245s Selecting previously unselected package libfile-copy-recursive-perl. 245s Preparing to unpack .../107-libfile-copy-recursive-perl_0.45-4_all.deb ... 245s Unpacking libfile-copy-recursive-perl (0.45-4) ... 245s Selecting previously unselected package libio-stringy-perl. 245s Preparing to unpack .../108-libio-stringy-perl_2.113-2_all.deb ... 245s Unpacking libio-stringy-perl (2.113-2) ... 245s Selecting previously unselected package libparams-validate-perl:armhf. 245s Preparing to unpack .../109-libparams-validate-perl_1.31-2build4_armhf.deb ... 245s Unpacking libparams-validate-perl:armhf (1.31-2build4) ... 245s Selecting previously unselected package libgetopt-long-descriptive-perl. 245s Preparing to unpack .../110-libgetopt-long-descriptive-perl_0.115-1_all.deb ... 245s Unpacking libgetopt-long-descriptive-perl (0.115-1) ... 245s Selecting previously unselected package libsort-versions-perl. 245s Preparing to unpack .../111-libsort-versions-perl_1.62-3_all.deb ... 245s Unpacking libsort-versions-perl (1.62-3) ... 245s Selecting previously unselected package libgit-wrapper-perl. 245s Preparing to unpack .../112-libgit-wrapper-perl_0.048-2_all.deb ... 245s Unpacking libgit-wrapper-perl (0.048-2) ... 245s Selecting previously unselected package libimport-into-perl. 245s Preparing to unpack .../113-libimport-into-perl_1.002005-2_all.deb ... 245s Unpacking libimport-into-perl (1.002005-2) ... 245s Selecting previously unselected package libjs-popper.js. 245s Preparing to unpack .../114-libjs-popper.js_1.16.1+ds-6_all.deb ... 245s Unpacking libjs-popper.js (1.16.1+ds-6) ... 246s Selecting previously unselected package libjs-bootstrap5. 246s Preparing to unpack .../115-libjs-bootstrap5_5.3.3+dfsg-1_all.deb ... 246s Unpacking libjs-bootstrap5 (5.3.3+dfsg-1) ... 246s Selecting previously unselected package libjs-highlight.js. 246s Preparing to unpack .../116-libjs-highlight.js_9.18.5+dfsg1-2_all.deb ... 246s Unpacking libjs-highlight.js (9.18.5+dfsg1-2) ... 246s Selecting previously unselected package libjson-perl. 246s Preparing to unpack .../117-libjson-perl_4.10000-1_all.deb ... 246s Unpacking libjson-perl (4.10000-1) ... 246s Selecting previously unselected package libmojolicious-perl. 246s Preparing to unpack .../118-libmojolicious-perl_9.38+dfsg-1_all.deb ... 246s Unpacking libmojolicious-perl (9.38+dfsg-1) ... 246s Selecting previously unselected package libmoo-perl. 246s Preparing to unpack .../119-libmoo-perl_2.005005-1_all.deb ... 246s Unpacking libmoo-perl (2.005005-1) ... 246s Selecting previously unselected package libtype-tiny-perl. 246s Preparing to unpack .../120-libtype-tiny-perl_2.004000-1_all.deb ... 246s Unpacking libtype-tiny-perl (2.004000-1) ... 246s Selecting previously unselected package libmoox-typetiny-perl. 246s Preparing to unpack .../121-libmoox-typetiny-perl_0.002003-4_all.deb ... 246s Unpacking libmoox-typetiny-perl (0.002003-4) ... 246s Selecting previously unselected package libpath-tiny-perl. 246s Preparing to unpack .../122-libpath-tiny-perl_0.146-1_all.deb ... 246s Unpacking libpath-tiny-perl (0.146-1) ... 246s Selecting previously unselected package libref-util-perl. 246s Preparing to unpack .../123-libref-util-perl_0.204-2_all.deb ... 246s Unpacking libref-util-perl (0.204-2) ... 246s Selecting previously unselected package libsafe-isa-perl. 246s Preparing to unpack .../124-libsafe-isa-perl_1.000010-1_all.deb ... 246s Unpacking libsafe-isa-perl (1.000010-1) ... 246s Selecting previously unselected package libstrictures-perl. 246s Preparing to unpack .../125-libstrictures-perl_2.000006-1_all.deb ... 246s Unpacking libstrictures-perl (2.000006-1) ... 246s Selecting previously unselected package libjson-schema-modern-perl. 246s Preparing to unpack .../126-libjson-schema-modern-perl_0.593-1_all.deb ... 246s Unpacking libjson-schema-modern-perl (0.593-1) ... 246s Selecting previously unselected package libmodule-build-tiny-perl. 246s Preparing to unpack .../127-libmodule-build-tiny-perl_0.048-1_all.deb ... 246s Unpacking libmodule-build-tiny-perl (0.048-1) ... 246s Selecting previously unselected package libnet-idn-encode-perl. 246s Preparing to unpack .../128-libnet-idn-encode-perl_2.500-5build1_armhf.deb ... 246s Unpacking libnet-idn-encode-perl (2.500-5build1) ... 246s Selecting previously unselected package libpadwalker-perl. 246s Preparing to unpack .../129-libpadwalker-perl_2.5-1build7_armhf.deb ... 246s Unpacking libpadwalker-perl (2.5-1build7) ... 246s Selecting previously unselected package libref-util-xs-perl. 246s Preparing to unpack .../130-libref-util-xs-perl_0.117-2build5_armhf.deb ... 246s Unpacking libref-util-xs-perl (0.117-2build5) ... 246s Selecting previously unselected package libscope-guard-perl. 246s Preparing to unpack .../131-libscope-guard-perl_0.21-2_all.deb ... 246s Unpacking libscope-guard-perl (0.21-2) ... 246s Selecting previously unselected package libsereal-decoder-perl. 246s Preparing to unpack .../132-libsereal-decoder-perl_5.004+ds-1build4_armhf.deb ... 246s Unpacking libsereal-decoder-perl (5.004+ds-1build4) ... 246s Selecting previously unselected package libsereal-encoder-perl. 246s Preparing to unpack .../133-libsereal-encoder-perl_5.004+ds-1build4_armhf.deb ... 246s Unpacking libsereal-encoder-perl (5.004+ds-1build4) ... 246s Selecting previously unselected package libsereal-perl. 246s Preparing to unpack .../134-libsereal-perl_5.004-1_all.deb ... 246s Unpacking libsereal-perl (5.004-1) ... 246s Selecting previously unselected package libtest-deep-perl. 246s Preparing to unpack .../135-libtest-deep-perl_1.204-1_all.deb ... 246s Unpacking libtest-deep-perl (1.204-1) ... 246s Selecting previously unselected package libtest-deep-unorderedpairs-perl. 246s Preparing to unpack .../136-libtest-deep-unorderedpairs-perl_0.006-3_all.deb ... 246s Unpacking libtest-deep-unorderedpairs-perl (0.006-3) ... 246s Selecting previously unselected package libtest-fatal-perl. 246s Preparing to unpack .../137-libtest-fatal-perl_0.017-1_all.deb ... 246s Unpacking libtest-fatal-perl (0.017-1) ... 246s Selecting previously unselected package libtest-file-sharedir-perl. 247s Preparing to unpack .../138-libtest-file-sharedir-perl_1.001002-2_all.deb ... 247s Unpacking libtest-file-sharedir-perl (1.001002-2) ... 247s Selecting previously unselected package libtest2-suite-perl. 247s Preparing to unpack .../139-libtest2-suite-perl_0.000163-1_all.deb ... 247s Unpacking libtest2-suite-perl (0.000163-1) ... 247s Selecting previously unselected package libtest-json-schema-acceptance-perl. 247s Preparing to unpack .../140-libtest-json-schema-acceptance-perl_1.026-1_all.deb ... 247s Unpacking libtest-json-schema-acceptance-perl (1.026-1) ... 247s Selecting previously unselected package libtest-memory-cycle-perl. 247s Preparing to unpack .../141-libtest-memory-cycle-perl_1.06-2_all.deb ... 247s Unpacking libtest-memory-cycle-perl (1.06-2) ... 247s Selecting previously unselected package libtest-needs-perl. 247s Preparing to unpack .../142-libtest-needs-perl_0.002010-1_all.deb ... 247s Unpacking libtest-needs-perl (0.002010-1) ... 247s Selecting previously unselected package libtest-warnings-perl. 247s Preparing to unpack .../143-libtest-warnings-perl_0.033-1_all.deb ... 247s Unpacking libtest-warnings-perl (0.033-1) ... 247s Selecting previously unselected package libtest-without-module-perl. 247s Preparing to unpack .../144-libtest-without-module-perl_0.23-1_all.deb ... 247s Unpacking libtest-without-module-perl (0.23-1) ... 247s Selecting previously unselected package libtime-moment-perl. 247s Preparing to unpack .../145-libtime-moment-perl_0.44-2build5_armhf.deb ... 247s Unpacking libtime-moment-perl (0.44-2build5) ... 247s Selecting previously unselected package libtype-tiny-xs-perl:armhf. 247s Preparing to unpack .../146-libtype-tiny-xs-perl_0.025-2build1_armhf.deb ... 247s Unpacking libtype-tiny-xs-perl:armhf (0.025-2build1) ... 247s Selecting previously unselected package pkg-perl-autopkgtest. 247s Preparing to unpack .../147-pkg-perl-autopkgtest_0.80_all.deb ... 247s Unpacking pkg-perl-autopkgtest (0.80) ... 247s Selecting previously unselected package autopkgtest-satdep. 247s Preparing to unpack .../148-1-autopkgtest-satdep.deb ... 247s Unpacking autopkgtest-satdep (0) ... 247s Setting up javascript-common (11+nmu1) ... 247s Setting up libdevel-cycle-perl (1.12-2) ... 247s Setting up libextutils-config-perl (0.010-1) ... 247s Setting up libsafe-isa-perl (1.000010-1) ... 247s Setting up libextutils-helpers-perl (0.028-1) ... 247s Setting up libclass-inspector-perl (1.36-3) ... 247s Setting up libtest-without-module-perl (0.23-1) ... 247s Setting up libdynaloader-functions-perl (0.004-1) ... 247s Setting up libtest-deep-perl (1.204-1) ... 247s Setting up libclass-method-modifiers-perl (2.15-1) ... 247s Setting up libref-util-xs-perl (0.117-2build5) ... 247s Setting up libjs-popper.js (1.16.1+ds-6) ... 247s Setting up libnet-idn-encode-perl (2.500-5build1) ... 247s Setting up libarchive-zip-perl (1.68-1) ... 247s Setting up libsub-identify-perl (0.14-3build4) ... 247s Setting up libcpanel-json-xs-perl:armhf (4.38-1build1) ... 247s Setting up libextutils-installpaths-perl (0.014-1) ... 247s Setting up libio-stringy-perl (2.113-2) ... 247s Setting up libdebhelper-perl (13.20ubuntu1) ... 247s Setting up libtry-tiny-perl (0.32-1) ... 247s Setting up libtest-warnings-perl (0.033-1) ... 247s Setting up libtest-fatal-perl (0.017-1) ... 247s Setting up libextutils-hascompiler-perl (0.025-1) ... 247s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 247s Setting up m4 (1.4.19-4build1) ... 247s Setting up libclass-singleton-perl (1.6-2) ... 247s Setting up libtime-moment-perl (0.44-2build5) ... 247s Setting up libpadwalker-perl (2.5-1build7) ... 247s Setting up libcpan-requirements-dynamic-perl (0.001-2) ... 247s Setting up libxstring-perl:armhf (0.005-2build4) ... 247s Setting up libgomp1:armhf (14.2.0-8ubuntu1) ... 247s Setting up libsereal-encoder-perl (5.004+ds-1build4) ... 247s Setting up libsub-install-perl (0.929-1) ... 247s Setting up libtest2-suite-perl (0.000163-1) ... 247s Setting up libtest-needs-perl (0.002010-1) ... 247s Setting up libscope-guard-perl (0.21-2) ... 247s Setting up libfile-copy-recursive-perl (0.45-4) ... 247s Setting up liberror-perl (0.17029-2) ... 247s Setting up libautovivification-perl:armhf (0.18-2build5) ... 247s Setting up libtest-memory-cycle-perl (1.06-2) ... 247s Setting up autotools-dev (20220109.1) ... 247s Setting up libclass-data-inheritable-perl (0.10-1) ... 247s Setting up libalgorithm-c3-perl (0.11-2) ... 247s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 247s Setting up libclass-tiny-perl (1.008-2) ... 247s Setting up libtest-deep-unorderedpairs-perl (0.006-3) ... 247s Setting up libref-util-perl (0.204-2) ... 247s Setting up libnet-domain-tld-perl (1.75-4) ... 247s Setting up libmpc3:armhf (1.3.1-1build2) ... 247s Setting up libvariable-magic-perl (0.64-1build1) ... 247s Setting up autopoint (0.22.5-2) ... 247s Setting up libb-hooks-op-check-perl:armhf (0.22-3build2) ... 247s Setting up libparams-util-perl (1.102-3build1) ... 247s Setting up autoconf (2.72-3) ... 247s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 247s Setting up libubsan1:armhf (14.2.0-8ubuntu1) ... 247s Setting up libsub-name-perl:armhf (0.27-1build4) ... 247s Setting up libtype-tiny-xs-perl:armhf (0.025-2build1) ... 247s Setting up dwz (0.15-1build6) ... 247s Setting up libdata-validate-domain-perl (0.15-1) ... 247s Setting up libcpan-meta-check-perl (0.018-1) ... 247s Setting up libjs-highlight.js (9.18.5+dfsg1-2) ... 247s Setting up libfile-chdir-perl (0.1008-1.2) ... 247s Setting up libcrypt-dev:armhf (1:4.4.36-4build1) ... 247s Setting up libpath-tiny-perl (0.146-1) ... 247s Setting up libasan8:armhf (14.2.0-8ubuntu1) ... 247s Setting up libjson-perl (4.10000-1) ... 247s Setting up librole-tiny-perl (2.002004-1) ... 247s Setting up debugedit (1:5.1-1) ... 247s Setting up libfile-sharedir-perl (1.118-3) ... 247s Setting up git-man (1:2.45.2-1ubuntu1) ... 247s Setting up libstrictures-perl (2.000006-1) ... 247s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 247s Setting up libdevel-stacktrace-perl (2.0500-1) ... 247s Setting up libclass-xsaccessor-perl (1.19-4build5) ... 247s Setting up libsort-versions-perl (1.62-3) ... 247s Setting up libexporter-tiny-perl (1.006002-1) ... 247s Setting up libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 247s Setting up libisl23:armhf (0.27-1) ... 247s Setting up libc-dev-bin (2.40-1ubuntu3) ... 247s Setting up libjs-bootstrap5 (5.3.3+dfsg-1) ... 247s Setting up libsereal-decoder-perl (5.004+ds-1build4) ... 247s Setting up libcc1-0:armhf (14.2.0-8ubuntu1) ... 247s Setting up dctrl-tools (2.24-3build3) ... 247s Setting up autodep8 (0.28+nmu1ubuntu1) ... 247s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 247s Setting up libemail-address-xs-perl (1.05-1build5) ... 247s Setting up automake (1:1.16.5-1.3ubuntu1) ... 247s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 247s Setting up libmodule-build-tiny-perl (0.048-1) ... 247s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 247s Setting up gettext (0.22.5-2) ... 247s Setting up libmojolicious-perl (9.38+dfsg-1) ... 247s Setting up libtype-tiny-perl (2.004000-1) ... 247s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 247s Setting up libsereal-perl (5.004-1) ... 247s Setting up libexception-class-perl (1.45-1) ... 247s Setting up libclass-c3-perl (0.35-2) ... 247s Setting up libdevel-callchecker-perl:armhf (0.009-1build1) ... 247s Setting up intltool-debian (0.35.0+20060710.6) ... 247s Setting up libxs-parse-keyword-perl (0.46-1) ... 247s Setting up libtest-file-sharedir-perl (1.001002-2) ... 247s Setting up libdata-optlist-perl (0.114-1) ... 247s Setting up git (1:2.45.2-1ubuntu1) ... 247s Setting up pkg-perl-autopkgtest (0.80) ... 247s Setting up cpp-14 (14.2.0-8ubuntu1) ... 247s Setting up dh-strip-nondeterminism (1.14.0-1) ... 247s Setting up libsyntax-keyword-try-perl (0.30-1) ... 247s Setting up libgit-wrapper-perl (0.048-2) ... 247s Setting up libc6-dev:armhf (2.40-1ubuntu3) ... 247s Setting up libmro-compat-perl (0.15-2) ... 247s Setting up libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 247s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 247s Setting up libsub-exporter-perl (0.990-1) ... 247s Setting up libeval-closure-perl (0.14-3) ... 247s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 247s Setting up g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 247s Setting up libparams-validationcompiler-perl (0.31-1) ... 247s Setting up libfeature-compat-try-perl (0.05-1) ... 247s Setting up po-debconf (1.0.21+nmu1) ... 247s Setting up libparams-classify-perl:armhf (0.015-2build6) ... 247s Setting up gcc-14 (14.2.0-8ubuntu1) ... 247s Setting up libmodule-runtime-perl (0.016-2) ... 247s Setting up cpp (4:14.1.0-2ubuntu1) ... 247s Setting up g++-14 (14.2.0-8ubuntu1) ... 247s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 247s Setting up libtool (2.4.7-7build1) ... 247s Setting up libmodule-implementation-perl (0.09-2) ... 247s Setting up libpackage-stash-perl (0.40-1) ... 247s Setting up libimport-into-perl (1.002005-2) ... 247s Setting up libmoo-perl (2.005005-1) ... 247s Setting up gcc (4:14.1.0-2ubuntu1) ... 247s Setting up dh-autoreconf (20) ... 247s Setting up libspecio-perl (0.48-1) ... 247s Setting up g++ (4:14.1.0-2ubuntu1) ... 247s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 247s Setting up build-essential (12.10ubuntu1) ... 247s Setting up libmoox-typetiny-perl (0.002003-4) ... 247s Setting up libparams-validate-perl:armhf (1.31-2build4) ... 247s Setting up libb-hooks-endofscope-perl (0.28-1) ... 247s Setting up debhelper (13.20ubuntu1) ... 247s Setting up libnamespace-clean-perl (0.27-2) ... 247s Setting up libgetopt-long-descriptive-perl (0.115-1) ... 247s Setting up libtest-json-schema-acceptance-perl (1.026-1) ... 247s Setting up libnamespace-autoclean-perl (0.31-1) ... 247s Setting up libdatetime-locale-perl (1:1.41-1) ... 247s Setting up libdatetime-timezone-perl (1:2.63-2+2024b) ... 247s Setting up libjson-schema-modern-perl (0.593-1) ... 247s Setting up libdatetime-perl (2:1.65-1build3) ... 247s Setting up libdatetime-format-rfc3339-perl (1.8.0-1) ... 247s Setting up autopkgtest-satdep (0) ... 247s Processing triggers for man-db (2.13.0-1) ... 250s Processing triggers for install-info (7.1.1-1) ... 250s Processing triggers for libc-bin (2.40-1ubuntu3) ... 272s (Reading database ... 70910 files and directories currently installed.) 272s Removing autopkgtest-satdep (0) ... 278s autopkgtest [08:57:26]: test autodep8-perl-build-deps: /usr/share/pkg-perl-autopkgtest/runner build-deps 278s autopkgtest [08:57:26]: test autodep8-perl-build-deps: [----------------------- 281s t/00-report-prereqs.t ................... 281s 1..1 281s # 281s # Versions for all modules listed in static metadata (including optional ones): 281s # 281s # === Configure Requires === 281s # 281s # Module Want Have 281s # ------------------- ----- -------- 281s # Module::Build::Tiny 0.034 0.048 281s # perl 5.020 5.040000 281s # 281s # === Test Requires === 281s # 281s # Module Want Have 281s # ------------------------------ -------- -------- 281s # CPAN::Meta::Check 0.011 0.018 281s # CPAN::Meta::Requirements any 2.143 281s # Data::Dumper any 2.189 281s # File::Spec any 3.90 281s # IPC::Open3 any 1.22 281s # Math::BigInt 1.999701 2.003002 281s # Module::Metadata any 1.000038 281s # Test2::API any 1.302199 281s # Test2::V0 any 0.000163 281s # Test::Deep any 1.204 281s # Test::Deep::UnorderedPairs any 0.006 281s # Test::Fatal any 0.017 281s # Test::File::ShareDir any 1.001002 281s # Test::JSON::Schema::Acceptance 1.021 1.026 281s # Test::Memory::Cycle any 1.06 281s # Test::More 0.96 1.302199 281s # Test::Needs any 0.002010 281s # Test::Warnings any 0.033 281s # Test::Without::Module 0.21 0.23 281s # lib any 0.65 281s # perl v5.20.0 5.040000 281s # utf8 any 1.25 281s # 281s # === Test Recommends === 281s # 281s # Module Want Have 281s # ---------- -------- -------- 281s # CPAN::Meta 2.120900 2.150010 281s # 281s # === Runtime Requires === 281s # 281s # Module Want Have 281s # ------------------------- -------- -------- 281s # B any 1.89 281s # Carp any 1.54 281s # Cpanel::JSON::XS 4.38 4.38 281s # Digest::MD5 any 2.58_01 281s # Exporter any 5.78 281s # Feature::Compat::Try any 0.05 281s # File::ShareDir any 1.118 281s # Getopt::Long::Descriptive any 0.115 281s # JSON::PP 4.11 4.16 281s # List::Util 1.55 1.63 281s # MIME::Base64 any 3.16_01 281s # Math::BigFloat any 2.003002 281s # Math::BigInt 1.999701 2.003002 281s # Module::Runtime any 0.016 281s # Mojo::JSON any undef 281s # Mojo::JSON::Pointer any undef 281s # Mojo::URL any undef 281s # Mojolicious 7.87 9.38 281s # Moo any 2.005005 281s # Moo::Role any 2.005005 281s # MooX::TypeTiny 0.002002 0.002003 281s # Path::Tiny any 0.146 281s # Ref::Util 0.100 0.204 281s # Safe::Isa 1.000008 1.000010 281s # Scalar::Util any 1.63 281s # Storable any 3.32 281s # Sub::Install any 0.929 281s # Types::Common::Numeric any 2.004000 281s # Types::Standard 1.016003 2.004000 281s # autovivification any 0.18 281s # constant any 1.33 281s # experimental 0.026 0.032 281s # if any 0.0610 281s # namespace::clean any 0.27 281s # open any 1.13 281s # overload any 1.37 281s # perl v5.20.0 5.040000 281s # stable 0.031 0.033 281s # strict any 1.13 281s # strictures 2 2.000006 281s # warnings any 1.70 281s # 281s # === Runtime Suggests === 281s # 281s # Module Want Have 281s # ------------------------- ---- ------ 281s # Class::XSAccessor any 1.19 281s # Data::Validate::Domain any 0.15 281s # DateTime::Format::RFC3339 any v1.8.0 281s # Email::Address::XS 1.04 1.05 281s # Net::IDN::Encode any 2.500 281s # Ref::Util::XS any 0.117 281s # Sereal any 5.004 281s # Time::Moment any 0.44 281s # Type::Tiny::XS any 0.025 281s # 281s # === Other Modules === 281s # 281s # Module Have 281s # ---------------- -------- 281s # Cpanel::JSON::XS 4.38 281s # Encode 3.21 281s # File::Temp 0.2311 281s # JSON::PP 4.16 281s # JSON::XS missing 281s # Math::BigFloat 2.003002 281s # Math::BigInt 2.003002 281s # Module::Runtime 0.016 281s # Mojolicious 9.38 281s # Pod::Coverage missing 281s # Sereal::Decoder 5.004 281s # Sereal::Encoder 5.004 281s # Sub::Name 0.27 281s # YAML missing 281s # autodie 2.37 281s # 281s ok 1 - Reported prereqs 281s ok 281s t/add-schema.t .......................... 281s # Subtest: evaluate a document 281s ok 1 - evaluate a Document object 281s ok 2 - resource index from the document is copied to the main object 281s ok 3 - evaluate a Document object again without error 281s 1..3 281s ok 1 - evaluate a document 281s # Subtest: evaluate a uri 281s ok 1 - evaluate with a uri that is not yet loaded 281s ok 2 - the metaschema is now loaded and its resources are indexed 281s ok 3 - evaluate against the metaschema again 281s ok 4 - evaluate against the a subschema of the metaschema 281s ok 5 - evaluate against the a fragment of the metaschema that does not exist 281s ok 6 - evaluate against the a plain-name fragment of the metaschema that does not exist 281s 1..6 281s ok 2 - evaluate a uri 281s # Subtest: add a uri resource 281s ok 1 - ->get in scalar context on a URI to the head of a document 281s ok 2 - get() did not return a reference to the original data 281s ok 3 - ->get in list context on a URI to the head of a document 281s ok 4 - ->get in scalar context on a URI to inside of a document 281s ok 5 - ->get in list context on a URI to inside of a document 281s 1..5 281s ok 3 - add a uri resource 281s # Subtest: add a schema associated with a uri 281s ok 1 - cannot use a uri with a fragment 281s ok 2 - added the schema data with an associated uri 281s ok 3 - can now evaluate using a uri to a subschema of a resource we loaded earlier 281s ok 4 - can also evaluate using a non-canonical uri 281s ok 5 - can add the same document and associate it with another schema 281s ok 6 - can add the same document twice, using deprecated interface 281s ok 7 - warned when using deprecated form of add_schema 281s ok 8 - can add the same document again with the proper interface 281s ok 9 - now the document is available as all three uris 281s 1..9 281s ok 4 - add a schema associated with a uri 281s # Subtest: add a document without associating it with a uri 281s ok 1 - added the document without an associated uri 281s ok 2 - document only added under its canonical uri 281s 1..2 281s ok 5 - add a document without associating it with a uri 281s # Subtest: add a schema without a uri 281s ok 1 - added the schema data without an associated uri 281s ok 2 - document only added under its canonical uri 281s 1..2 281s ok 6 - add a schema without a uri 281s # Subtest: $ref to non-canonical uri 281s ok 1 - errors use the canonical uri, not the uri used to evaluate against 281s ok 2 - non-canonical uri is not used to resolve inner $id keywords 281s ok 3 - the canonical uri is updated when use the canonical uri, not the uri used to evaluate against 281s ok 4 - canonical_uri is not always what was in the $ref, even when no local $id is present 281s ok 5 - canonical_uri fragment also needs to be adjusted 281s ok 6 - canonical_uri starts out containing a fragment and can be appended to during traversal 281s 1..6 281s ok 7 - $ref to non-canonical uri 281s # Subtest: register a document against multiple uris; do not allow duplicate uris 281s ok 1 - resource index from the document is copied to the main object 281s ok 2 - add a secondary uri for the same document 281s ok 3 - secondary uri not also added to the document 281s ok 4 - cannot call add_schema with the same URI as for another schema 281s ok 5 - cannot reuse the same $id in another document 281s ok 6 - resource index remains unchanged after erroneous add_schema calls 281s ok 7 - adding the same schema *content* again does not fail, and returns the original document object 281s ok 8 - original document remains unchanged - the new uri was not added to it 281s ok 9 - new uri was added against the original document (no new document created) 281s ok 10 - ->get in scalar context on a secondary URI with a plain-name fragment 281s ok 11 - ->get in list context on a URI with a plain-name fragment includes the canonical uri 281s ok 12 - ->get in scalar context for a nonexistent resource returns undef 281s ok 13 - ->get in list context for a nonexistent resource returns empty list 281s 1..13 281s ok 8 - register a document against multiple uris; do not allow duplicate uris 281s # Subtest: external resource with externally-supplied uri; main resource with multiple uris 281s ok 1 - all uris in result are correct, using secondary uri as the target 281s ok 2 - all uris in result are correct, using main uri as the target 281s ok 3 - all uris in result are correct, using the literal schema as the target 281s 1..3 281s ok 9 - external resource with externally-supplied uri; main resource with multiple uris 281s # Subtest: document with no canonical URI, but assigned a URI through add_schema 281s ok 1 - evaluate a schema referencing a document given an ad-hoc uri 281s ok 2 - adding a uri to an existing document does not change its canonical uri 281s 1..2 281s ok 10 - document with no canonical URI, but assigned a URI through add_schema 281s 1..10 281s ok 287s t/additional-tests-draft2019-09.t ....... 287s # AUTHOR_TESTING: 287s # AUTOMATED_TESTING: 1 287s # EXTENDED_TESTING: 287s # NO_TODO: 287s # TEST_DIR: 287s # NO_SHORT_CIRCUIT: 287s # 287s # running tests in /tmp/autopkgtest.vuKWDd/autopkgtest_tmp/smokehavTUc/t/additional-tests-draft2019-09 against draft2019-09... 287s # 287s ok 1 - anchor.json: "non-schema object containing an $anchor property" - "skip traversing definition for a valid result" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 2 - anchor.json: "non-schema object containing an $anchor property" - "const at const_not_anchor does not match" { 287s # result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/else/$ref/const" 287s # }, 287s # { 287s # "error": "subschema is not valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/else" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/else/$ref/const" 287s # }, 287s # { 287s # "error": "subschema is not valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/else" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s # 287s ok 3 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "properties evaluated from allOf" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 4 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "extra property" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/bar", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/bar", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 5 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "properties evaluated from additionalProperties" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 6 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "extra property" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/bar", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/bar", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 7 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "properties evaluated from allOf, but unevaluated is buried" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/foo", 287s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "no subschemas are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/foo", 287s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "no subschemas are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 8 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "no properties" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 9 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "properties evaluated from additionalProperties, but unevaluated is buried" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/foo", 287s # "keywordLocation": "/allOf/0/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/allOf/0/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "subschema 0 is not valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/allOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/foo", 287s # "keywordLocation": "/allOf/0/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/allOf/0/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "subschema 0 is not valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/allOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 10 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "no properties" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 11 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 12 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/not" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/not" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s # 287s ok 13 - badRef.json: "good references in schemas" - "this data is never used" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 14 - badRef.json: "bad $ref in schema: not a valid anchor fragment" - "this data is never used" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "$ref value is not a valid URI reference", 287s # "instanceLocation": "", 287s # "keywordLocation": "/then/$ref" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "$ref value is not a valid URI reference", 287s # "instanceLocation": "", 287s # "keywordLocation": "/then/$ref" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 15 - badRef.json: "bad $ref in schema: not a valid json pointer fragment" - "this data is never used" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "$ref value is not a valid URI reference", 287s # "instanceLocation": "", 287s # "keywordLocation": "/then/$ref" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "$ref value is not a valid URI reference", 287s # "instanceLocation": "", 287s # "keywordLocation": "/then/$ref" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s # 287s ok 16 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match the type checks" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 17 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match none of the options" { 287s # result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 287s # "error": "got string, not integer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/0/type" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 287s # "error": "got string, not integer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/1/type" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/2/const" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/3/enum" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 287s # "error": "no subschemas are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 287s # "error": "got string, not integer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/0/type" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 287s # "error": "got string, not integer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/1/type" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/2/const" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf/3/enum" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 287s # "error": "no subschemas are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/anyOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s # 287s ok 18 - format-duration.json: "validation of duration strings" - "years and months can appear without days" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 19 - format-duration.json: "validation of duration strings" - "months and days can appear without years" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 20 - format-duration.json: "validation of duration strings" - "hours and minutes can appear without seconds" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 21 - format-duration.json: "validation of duration strings" - "minutes and seconds can appear without hour" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 22 - format-duration.json: "validation of duration strings" - "elements may be omitted if their value is zero" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 23 - format-duration.json: "validation of duration strings" - "half a year duration, with full stop decimal point" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 24 - format-duration.json: "validation of duration strings" - "half a year duration, with comma decimal point" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 25 - format-duration.json: "validation of duration strings" - "only one unit can have a non-integer quantity" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid duration", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid duration", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 26 - format-duration.json: "validation of duration strings" - "only the smallest unit can have a non-integer quantity" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid duration", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid duration", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s # 287s ok 27 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, as they are treated as octal values" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv4", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv4", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 28 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, even if not a valid octal value" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv4", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv4", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 29 - format-ipv4.json: "validation of ipv4 strings" - "value without leading zero is valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 30 - format-ipv4.json: "validation of ipv4 strings" - "non-ascii digits should be rejected" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv4", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv4", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s # 287s ok 31 - format-ipv6.json: "validation of ipv6 strings" - "fully expanded with zeroes" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 32 - format-ipv6.json: "validation of ipv6 strings" - "partially collapsed zeroes" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 33 - format-ipv6.json: "validation of ipv6 strings" - "4,2 zeroes" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 34 - format-ipv6.json: "validation of ipv6 strings" - "8 single zeroes, no double colon" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 35 - format-ipv6.json: "validation of ipv6 strings" - "7 single zeroes, leading double colon" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 36 - format-ipv6.json: "validation of ipv6 strings" - "6 single zeroes, leading double colon" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 37 - format-ipv6.json: "validation of ipv6 strings" - "5 single zeroes, leading double colon" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 38 - format-ipv6.json: "validation of ipv6 strings" - "4 single zeroes, leading double colon" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 39 - format-ipv6.json: "validation of ipv6 strings" - "3 single zeroes, leading double colon" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 40 - format-ipv6.json: "validation of ipv6 strings" - "2 single zeroes, leading double colon" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 41 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, leading double colon" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 42 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, trailing double colon" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 43 - format-ipv6.json: "validation of ipv6 strings" - "2 leading colons with 8 zeroes" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 44 - format-ipv6.json: "validation of ipv6 strings" - "1 leading colon with 8 zeroes" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 45 - format-ipv6.json: "validation of ipv6 strings" - "colons in the middle with 8 zeroes" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 46 - format-ipv6.json: "validation of ipv6 strings" - "1 trailing colon with 8 zeroes" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 47 - format-ipv6.json: "validation of ipv6 strings" - "2 trailing colons with 8 zeroes" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid ipv6", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s # 287s ok 48 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with empty json-pointer" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 49 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with one-char json-pointer" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 50 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with longer json-pointer" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 51 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer \#" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 52 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "\#\# is not a valid json-pointer" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid relative-json-pointer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid relative-json-pointer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 53 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus json-pointer" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid relative-json-pointer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid relative-json-pointer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 54 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus octothorpe" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid relative-json-pointer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "not a valid relative-json-pointer", 287s # "instanceLocation": "", 287s # "keywordLocation": "/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s # 287s ok 55 - formats.json: "format validation after a $ref" - "invalid duration" { 287s # result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "#/$defs/my_format/format", 287s # "error": "not a valid duration", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$ref/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "#/$defs/my_format/format", 287s # "error": "not a valid duration", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$ref/format" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 56 - formats.json: "format validation after a $ref" - "valid duration" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 57 - formats.json: "format validation after an $id" - "invalid duration" { 287s # result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 287s # "error": "not a valid duration", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/allOf/0/format" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "bloop#/allOf", 287s # "error": "subschema 0 is not valid", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/allOf" 287s # }, 287s # { 287s # "error": "subschema is not valid against all items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 287s # "error": "not a valid duration", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/allOf/0/format" 287s # }, 287s # { 287s # "absoluteKeywordLocation": "bloop#/allOf", 287s # "error": "subschema 0 is not valid", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/allOf" 287s # }, 287s # { 287s # "error": "subschema is not valid against all items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 58 - formats.json: "format validation after an $id" - "valid duration" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s # 287s ok 59 - id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 60 - id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 287s # result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/else/$ref/const" 287s # }, 287s # { 287s # "error": "subschema is not valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/else" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/else/$ref/const" 287s # }, 287s # { 287s # "error": "subschema is not valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/else" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 61 - id.json: "'' not permitted as $id" - "schema would pass without $id" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "$id cannot be empty", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$id" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "$id cannot be empty", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$id" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 62 - id.json: "'' not permitted as $id" - "schema would fail even without $id" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "$id cannot be empty", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$id" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "$id cannot be empty", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$id" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 63 - id.json: "'\#' not permitted as $id" - "schema would pass without $id" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "$id cannot be empty", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$id" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "$id cannot be empty", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$id" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 64 - id.json: "'\#' not permitted as $id" - "schema would fail even without $id" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "$id cannot be empty", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$id" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "$id cannot be empty", 287s # "instanceLocation": "", 287s # "keywordLocation": "/$id" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s # 287s ok 65 - integers.json: "type checks" - "beyond int64 lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 66 - integers.json: "type checks" - "int64 lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 67 - integers.json: "type checks" - "beyond int32 lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 68 - integers.json: "type checks" - "int32 lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 69 - integers.json: "type checks" - "zero" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 70 - integers.json: "type checks" - "int32 upper boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 71 - integers.json: "type checks" - "beyond int32 upper boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 72 - integers.json: "type checks" - "upper int64 boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 73 - integers.json: "type checks" - "beyond int64 upper boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 74 - integers.json: "int32 range checks" - "beyond lower boundary" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than -2147483648", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than -2147483648", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 75 - integers.json: "int32 range checks" - "lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 76 - integers.json: "int32 range checks" - "zero" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 77 - integers.json: "int32 range checks" - "upper boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 78 - integers.json: "int32 range checks" - "beyond upper boundary" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2147483647", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2147483647", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 79 - integers.json: "int64 range checks" - "beyond lower boundary" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than -9223372036854775808", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than -9223372036854775808", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 80 - integers.json: "int64 range checks" - "lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 81 - integers.json: "int64 range checks" - "zero" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 82 - integers.json: "int64 range checks" - "upper boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 83 - integers.json: "int64 range checks" - "beyond upper boundary" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 9223372036854775807", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 9223372036854775807", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 84 - integers.json: "equality checks" - "beyond int64 lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 85 - integers.json: "equality checks" - "int64 lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 86 - integers.json: "equality checks" - "beyond int32 lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 87 - integers.json: "equality checks" - "int32 lower boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 88 - integers.json: "equality checks" - "zero" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 89 - integers.json: "equality checks" - "one" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/enum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value does not match", 287s # "instanceLocation": "", 287s # "keywordLocation": "/enum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 90 - integers.json: "equality checks" - "int32 upper boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 91 - integers.json: "equality checks" - "beyond int32 upper boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 92 - integers.json: "equality checks" - "int64 upper boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 93 - integers.json: "equality checks" - "beyond int64 upper boundary" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s # 287s ok 94 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 95 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 96 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 97 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 98 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 99 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 100 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 101 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 102 - keyword-independence.json: "contains + maximum" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 103 - keyword-independence.json: "contains + maximum" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 104 - keyword-independence.json: "contains + maximum" - "number, maximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 105 - keyword-independence.json: "contains + maximum" - "number, maximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 106 - keyword-independence.json: "contains + minimum" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 107 - keyword-independence.json: "contains + minimum" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 108 - keyword-independence.json: "contains + minimum" - "number, minimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 109 - keyword-independence.json: "contains + minimum" - "number, minimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 110 - keyword-independence.json: "contains + multipleOf" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 111 - keyword-independence.json: "contains + multipleOf" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 112 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 113 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 114 - keyword-independence.json: "exclusiveMaximum + items" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 115 - keyword-independence.json: "exclusiveMaximum + items" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 116 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 117 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 118 - keyword-independence.json: "exclusiveMinimum + items" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 119 - keyword-independence.json: "exclusiveMinimum + items" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 120 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 121 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 122 - keyword-independence.json: "items + maximum" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 123 - keyword-independence.json: "items + maximum" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 124 - keyword-independence.json: "items + maximum" - "number, maximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 125 - keyword-independence.json: "items + maximum" - "number, maximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 126 - keyword-independence.json: "items + minimum" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 127 - keyword-independence.json: "items + minimum" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 128 - keyword-independence.json: "items + minimum" - "number, minimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 129 - keyword-independence.json: "items + minimum" - "number, minimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 130 - keyword-independence.json: "items + multipleOf" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 131 - keyword-independence.json: "items + multipleOf" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 132 - keyword-independence.json: "items + multipleOf" - "number, multipleOf invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 133 - keyword-independence.json: "items + multipleOf" - "number, multipleOf valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 134 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 135 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 136 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 137 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 138 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 139 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 140 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 141 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 142 - keyword-independence.json: "maxItems + maximum" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 143 - keyword-independence.json: "maxItems + maximum" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 144 - keyword-independence.json: "maxItems + maximum" - "number, maximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 145 - keyword-independence.json: "maxItems + maximum" - "number, maximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 146 - keyword-independence.json: "maxItems + minimum" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 147 - keyword-independence.json: "maxItems + minimum" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 148 - keyword-independence.json: "maxItems + minimum" - "number, minimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 149 - keyword-independence.json: "maxItems + minimum" - "number, minimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 150 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 151 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 152 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 153 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 154 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 155 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 156 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 157 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 158 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 159 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 160 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 161 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 162 - keyword-independence.json: "maximum + minItems" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 163 - keyword-independence.json: "maximum + minItems" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 164 - keyword-independence.json: "maximum + minItems" - "number, maximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 165 - keyword-independence.json: "maximum + minItems" - "number, maximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 166 - keyword-independence.json: "minItems + minimum" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 167 - keyword-independence.json: "minItems + minimum" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 168 - keyword-independence.json: "minItems + minimum" - "number, minimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 169 - keyword-independence.json: "minItems + minimum" - "number, minimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 170 - keyword-independence.json: "minItems + multipleOf" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 171 - keyword-independence.json: "minItems + multipleOf" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 172 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 173 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 174 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 175 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 176 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 177 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 178 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 179 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 180 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 181 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 182 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 183 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 184 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 185 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 186 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 187 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 188 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 189 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 190 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/unevaluatedItems" 287s # }, 287s # { 287s # "error": "subschema is not valid against all additional items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 191 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 192 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 193 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 194 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 195 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 196 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMaximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 197 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 198 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 199 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 200 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than or equal to 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/exclusiveMinimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 201 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 202 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 203 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 204 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is greater than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maximum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 205 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 206 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 207 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 208 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is less than 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minimum" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 209 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 210 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "items at indices 0 and 1 are not unique", 287s # "instanceLocation": "", 287s # "keywordLocation": "/uniqueItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 211 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 212 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "value is not a multiple of 2", 287s # "instanceLocation": "", 287s # "keywordLocation": "/multipleOf" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 213 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 214 - keyword-independence.json: "additionalProperties + contains" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 215 - keyword-independence.json: "additionalProperties + contains" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 216 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/additionalProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/additionalProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/additionalProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/additionalProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 217 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 218 - keyword-independence.json: "contains + dependentRequired" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 219 - keyword-independence.json: "contains + dependentRequired" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 220 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: y", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: y", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 221 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 222 - keyword-independence.json: "contains + dependentSchemas" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 223 - keyword-independence.json: "contains + dependentSchemas" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 224 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 225 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 226 - keyword-independence.json: "contains + maxProperties" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 227 - keyword-independence.json: "contains + maxProperties" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 228 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object has more than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object has more than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 229 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 230 - keyword-independence.json: "contains + minProperties" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 231 - keyword-independence.json: "contains + minProperties" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 232 - keyword-independence.json: "contains + minProperties" - "object, minProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object has fewer than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object has fewer than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 233 - keyword-independence.json: "contains + minProperties" - "object, minProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 234 - keyword-independence.json: "contains + patternProperties" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 235 - keyword-independence.json: "contains + patternProperties" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 236 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/no", 287s # "keywordLocation": "/patternProperties/no" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/patternProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/no", 287s # "keywordLocation": "/patternProperties/no" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/patternProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 237 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 238 - keyword-independence.json: "contains + properties" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 239 - keyword-independence.json: "contains + properties" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 240 - keyword-independence.json: "contains + properties" - "object, properties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/properties/x" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/properties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/properties/x" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/properties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 241 - keyword-independence.json: "contains + properties" - "object, properties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 242 - keyword-independence.json: "contains + propertyNames" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 243 - keyword-independence.json: "contains + propertyNames" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 244 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/propertyNames" 287s # }, 287s # { 287s # "error": "not all property names are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/propertyNames" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/propertyNames" 287s # }, 287s # { 287s # "error": "not all property names are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/propertyNames" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 245 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 246 - keyword-independence.json: "contains + required" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 247 - keyword-independence.json: "contains + required" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 248 - keyword-independence.json: "contains + required" - "object, required invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: x", 287s # "instanceLocation": "", 287s # "keywordLocation": "/required" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: x", 287s # "instanceLocation": "", 287s # "keywordLocation": "/required" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 249 - keyword-independence.json: "contains + required" - "object, required valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 250 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is not valid against any item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/contains" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 251 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 252 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 253 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 254 - keyword-independence.json: "additionalProperties + items" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 255 - keyword-independence.json: "additionalProperties + items" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 256 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/additionalProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/additionalProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/additionalProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/additionalProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 257 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 258 - keyword-independence.json: "dependentRequired + items" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 259 - keyword-independence.json: "dependentRequired + items" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 260 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: y", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: y", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 261 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 262 - keyword-independence.json: "dependentSchemas + items" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 263 - keyword-independence.json: "dependentSchemas + items" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 264 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 265 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 266 - keyword-independence.json: "items + maxProperties" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 267 - keyword-independence.json: "items + maxProperties" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 268 - keyword-independence.json: "items + maxProperties" - "object, maxProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object has more than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object has more than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 269 - keyword-independence.json: "items + maxProperties" - "object, maxProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 270 - keyword-independence.json: "items + minProperties" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 271 - keyword-independence.json: "items + minProperties" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 272 - keyword-independence.json: "items + minProperties" - "object, minProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object has fewer than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object has fewer than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 273 - keyword-independence.json: "items + minProperties" - "object, minProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 274 - keyword-independence.json: "items + patternProperties" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 275 - keyword-independence.json: "items + patternProperties" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 276 - keyword-independence.json: "items + patternProperties" - "object, patternProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/no", 287s # "keywordLocation": "/patternProperties/no" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/patternProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/no", 287s # "keywordLocation": "/patternProperties/no" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/patternProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 277 - keyword-independence.json: "items + patternProperties" - "object, patternProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 278 - keyword-independence.json: "items + properties" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 279 - keyword-independence.json: "items + properties" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 280 - keyword-independence.json: "items + properties" - "object, properties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/properties/x" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/properties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/properties/x" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/properties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 281 - keyword-independence.json: "items + properties" - "object, properties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 282 - keyword-independence.json: "items + propertyNames" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 283 - keyword-independence.json: "items + propertyNames" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 284 - keyword-independence.json: "items + propertyNames" - "object, propertyNames invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/propertyNames" 287s # }, 287s # { 287s # "error": "not all property names are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/propertyNames" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/propertyNames" 287s # }, 287s # { 287s # "error": "not all property names are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/propertyNames" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 285 - keyword-independence.json: "items + propertyNames" - "object, propertyNames valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 286 - keyword-independence.json: "items + required" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 287 - keyword-independence.json: "items + required" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 288 - keyword-independence.json: "items + required" - "object, required invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: x", 287s # "instanceLocation": "", 287s # "keywordLocation": "/required" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: x", 287s # "instanceLocation": "", 287s # "keywordLocation": "/required" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 289 - keyword-independence.json: "items + required" - "object, required valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 290 - keyword-independence.json: "items + unevaluatedProperties" - "array, items invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "item not permitted", 287s # "instanceLocation": "/0", 287s # "keywordLocation": "/items/0" 287s # }, 287s # { 287s # "error": "not all items are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/items" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 291 - keyword-independence.json: "items + unevaluatedProperties" - "array, items valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 292 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 293 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 294 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 295 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 296 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/additionalProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/additionalProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/additionalProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/additionalProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 297 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 298 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 299 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 300 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: y", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: y", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 301 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 302 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 303 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 304 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 305 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 306 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 307 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 308 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object has more than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object has more than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 309 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 310 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 311 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 312 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object has fewer than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object has fewer than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 313 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 314 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 315 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 316 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/no", 287s # "keywordLocation": "/patternProperties/no" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/patternProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/no", 287s # "keywordLocation": "/patternProperties/no" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/patternProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 317 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 318 - keyword-independence.json: "maxItems + properties" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 319 - keyword-independence.json: "maxItems + properties" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 320 - keyword-independence.json: "maxItems + properties" - "object, properties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/properties/x" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/properties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/properties/x" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/properties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 321 - keyword-independence.json: "maxItems + properties" - "object, properties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 322 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 323 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 324 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/propertyNames" 287s # }, 287s # { 287s # "error": "not all property names are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/propertyNames" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/propertyNames" 287s # }, 287s # { 287s # "error": "not all property names are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/propertyNames" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 325 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 326 - keyword-independence.json: "maxItems + required" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 327 - keyword-independence.json: "maxItems + required" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 328 - keyword-independence.json: "maxItems + required" - "object, required invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: x", 287s # "instanceLocation": "", 287s # "keywordLocation": "/required" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: x", 287s # "instanceLocation": "", 287s # "keywordLocation": "/required" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 329 - keyword-independence.json: "maxItems + required" - "object, required valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 330 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has more than 1 item", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 331 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 332 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/unevaluatedProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/unevaluatedProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 333 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 334 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 335 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 336 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/additionalProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/additionalProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "additional property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/additionalProperties" 287s # }, 287s # { 287s # "error": "not all additional properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/additionalProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 337 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 338 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 339 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 340 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: y", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: y", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentRequired" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 341 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 342 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 343 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 344 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas/x" 287s # }, 287s # { 287s # "error": "not all dependencies are satisfied", 287s # "instanceLocation": "", 287s # "keywordLocation": "/dependentSchemas" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 345 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 346 - keyword-independence.json: "maxProperties + minItems" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 347 - keyword-independence.json: "maxProperties + minItems" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 348 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object has more than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object has more than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/maxProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 349 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 350 - keyword-independence.json: "minItems + minProperties" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 351 - keyword-independence.json: "minItems + minProperties" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 352 - keyword-independence.json: "minItems + minProperties" - "object, minProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object has fewer than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object has fewer than 1 property", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 353 - keyword-independence.json: "minItems + minProperties" - "object, minProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 354 - keyword-independence.json: "minItems + patternProperties" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 355 - keyword-independence.json: "minItems + patternProperties" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 356 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/no", 287s # "keywordLocation": "/patternProperties/no" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/patternProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/no", 287s # "keywordLocation": "/patternProperties/no" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/patternProperties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 357 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 358 - keyword-independence.json: "minItems + properties" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 359 - keyword-independence.json: "minItems + properties" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 360 - keyword-independence.json: "minItems + properties" - "object, properties invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/properties/x" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/properties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "property not permitted", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/properties/x" 287s # }, 287s # { 287s # "error": "not all properties are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/properties" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 361 - keyword-independence.json: "minItems + properties" - "object, properties valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 362 - keyword-independence.json: "minItems + propertyNames" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 363 - keyword-independence.json: "minItems + propertyNames" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 364 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/propertyNames" 287s # }, 287s # { 287s # "error": "not all property names are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/propertyNames" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "subschema is false", 287s # "instanceLocation": "/x", 287s # "keywordLocation": "/propertyNames" 287s # }, 287s # { 287s # "error": "not all property names are valid", 287s # "instanceLocation": "", 287s # "keywordLocation": "/propertyNames" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 365 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 366 - keyword-independence.json: "minItems + required" - "array, minItems invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "array has fewer than 2 items", 287s # "instanceLocation": "", 287s # "keywordLocation": "/minItems" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 367 - keyword-independence.json: "minItems + required" - "array, minItems valid" { 287s # result: { 287s # "valid": true 287s # } 287s # short-circuited result: { 287s # "valid": true 287s # } 287s ok 1 - test passes: data is valid: true 287s 1..1 287s } 287s ok 368 - keyword-independence.json: "minItems + required" - "object, required invalid" { 287s # result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: x", 287s # "instanceLocation": "", 287s # "keywordLocation": "/required" 287s # } 287s # ], 287s # "valid": false 287s # } 287s # short-circuited result: { 287s # "errors": [ 287s # { 287s # "error": "object is missing property: x", 287s # "instanceLocation": "", 287s # "keywordLocation": "/required" 287s # } 287s # ], 287s # "valid": false 287s # } 287s ok 1 - test passes: data is valid: false 287s 1..1 287s } 287s ok 369 - keyword-independence.json: "minItems + required" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 370 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "array has fewer than 2 items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "array has fewer than 2 items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 371 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 372 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 373 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 374 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 375 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 376 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 377 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 378 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 379 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 380 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 381 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 382 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 383 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 384 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 385 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 386 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 387 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 388 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 389 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 390 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 391 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 392 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 393 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 394 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 395 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 396 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 397 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 398 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 399 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 400 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 401 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 402 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 403 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 404 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 405 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 406 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 407 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 408 - keyword-independence.json: "required + unevaluatedItems" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 409 - keyword-independence.json: "required + unevaluatedItems" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 410 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 411 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 412 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 413 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 414 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 415 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 416 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 417 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 418 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 419 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 420 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 421 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 422 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 423 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 424 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 425 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 426 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 427 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 428 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 429 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 430 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 431 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 432 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 433 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 434 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 435 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 436 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 437 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 438 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 439 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 440 - keyword-independence.json: "properties + uniqueItems" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 441 - keyword-independence.json: "properties + uniqueItems" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 442 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 443 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 444 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 445 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 446 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 447 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 448 - keyword-independence.json: "required + uniqueItems" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 449 - keyword-independence.json: "required + uniqueItems" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 450 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 451 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 452 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 453 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 454 - keyword-independence.json: "contains + maxLength" - "array, contains invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is not valid against any item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/contains" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is not valid against any item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/contains" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 455 - keyword-independence.json: "contains + maxLength" - "array, contains valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 456 - keyword-independence.json: "contains + maxLength" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 457 - keyword-independence.json: "contains + maxLength" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 458 - keyword-independence.json: "contains + minLength" - "array, contains invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is not valid against any item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/contains" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is not valid against any item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/contains" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 459 - keyword-independence.json: "contains + minLength" - "array, contains valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 460 - keyword-independence.json: "contains + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 461 - keyword-independence.json: "contains + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 462 - keyword-independence.json: "contains + pattern" - "array, contains invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is not valid against any item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/contains" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is not valid against any item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/contains" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 463 - keyword-independence.json: "contains + pattern" - "array, contains valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 464 - keyword-independence.json: "contains + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 465 - keyword-independence.json: "contains + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 466 - keyword-independence.json: "items + maxLength" - "array, items invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/items/0" 288s # }, 288s # { 288s # "error": "not all items are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/items/0" 288s # }, 288s # { 288s # "error": "not all items are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 467 - keyword-independence.json: "items + maxLength" - "array, items valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 468 - keyword-independence.json: "items + maxLength" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 469 - keyword-independence.json: "items + maxLength" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 470 - keyword-independence.json: "items + minLength" - "array, items invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/items/0" 288s # }, 288s # { 288s # "error": "not all items are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/items/0" 288s # }, 288s # { 288s # "error": "not all items are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 471 - keyword-independence.json: "items + minLength" - "array, items valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 472 - keyword-independence.json: "items + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 473 - keyword-independence.json: "items + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 474 - keyword-independence.json: "items + pattern" - "array, items invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/items/0" 288s # }, 288s # { 288s # "error": "not all items are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/items/0" 288s # }, 288s # { 288s # "error": "not all items are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 475 - keyword-independence.json: "items + pattern" - "array, items valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 476 - keyword-independence.json: "items + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 477 - keyword-independence.json: "items + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 478 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "array has more than 1 item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "array has more than 1 item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 479 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 480 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 481 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 482 - keyword-independence.json: "maxItems + minLength" - "array, maxItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "array has more than 1 item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "array has more than 1 item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 483 - keyword-independence.json: "maxItems + minLength" - "array, maxItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 484 - keyword-independence.json: "maxItems + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 485 - keyword-independence.json: "maxItems + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 486 - keyword-independence.json: "maxItems + pattern" - "array, maxItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "array has more than 1 item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "array has more than 1 item", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 487 - keyword-independence.json: "maxItems + pattern" - "array, maxItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 488 - keyword-independence.json: "maxItems + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 489 - keyword-independence.json: "maxItems + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 490 - keyword-independence.json: "maxLength + minItems" - "array, minItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "array has fewer than 2 items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "array has fewer than 2 items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 491 - keyword-independence.json: "maxLength + minItems" - "array, minItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 492 - keyword-independence.json: "maxLength + minItems" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 493 - keyword-independence.json: "maxLength + minItems" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 494 - keyword-independence.json: "minItems + minLength" - "array, minItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "array has fewer than 2 items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "array has fewer than 2 items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 495 - keyword-independence.json: "minItems + minLength" - "array, minItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 496 - keyword-independence.json: "minItems + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 497 - keyword-independence.json: "minItems + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 498 - keyword-independence.json: "minItems + pattern" - "array, minItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "array has fewer than 2 items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "array has fewer than 2 items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 499 - keyword-independence.json: "minItems + pattern" - "array, minItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 500 - keyword-independence.json: "minItems + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 501 - keyword-independence.json: "minItems + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 502 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 503 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 504 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 505 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 506 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 507 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 508 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 509 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 510 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional item not permitted", 288s # "instanceLocation": "/0", 288s # "keywordLocation": "/unevaluatedItems" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 511 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 512 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 513 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 514 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 515 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 516 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 517 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 518 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 519 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 520 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 521 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 522 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "items at indices 0 and 1 are not unique", 288s # "instanceLocation": "", 288s # "keywordLocation": "/uniqueItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 523 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 524 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 525 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 526 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 527 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 528 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 529 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 530 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 531 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 532 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 533 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 534 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 535 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 536 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 537 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 538 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 539 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 540 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 541 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 542 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 543 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 544 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 545 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 546 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 547 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 548 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 549 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 550 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 551 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 552 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 553 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 554 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 555 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 556 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 557 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 558 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 559 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 560 - keyword-independence.json: "exclusiveMaximum + required" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 561 - keyword-independence.json: "exclusiveMaximum + required" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 562 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 563 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 564 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 565 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 566 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 567 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 568 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 569 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 570 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 571 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 572 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 573 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 574 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 575 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 576 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 577 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 578 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 579 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 580 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 581 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 582 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 583 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 584 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 585 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 586 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 587 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 588 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 589 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 590 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 591 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 592 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 593 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 594 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 595 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 596 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 597 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 598 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 599 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 600 - keyword-independence.json: "exclusiveMinimum + required" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 601 - keyword-independence.json: "exclusiveMinimum + required" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 602 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 603 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 604 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 605 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 606 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 607 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 608 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 609 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 610 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 611 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 612 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 613 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 614 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 615 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 616 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 617 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 618 - keyword-independence.json: "maxProperties + maximum" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 619 - keyword-independence.json: "maxProperties + maximum" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 620 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 621 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 622 - keyword-independence.json: "maximum + minProperties" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 623 - keyword-independence.json: "maximum + minProperties" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 624 - keyword-independence.json: "maximum + minProperties" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 625 - keyword-independence.json: "maximum + minProperties" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 626 - keyword-independence.json: "maximum + patternProperties" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 627 - keyword-independence.json: "maximum + patternProperties" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 628 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 629 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 630 - keyword-independence.json: "maximum + properties" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 631 - keyword-independence.json: "maximum + properties" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 632 - keyword-independence.json: "maximum + properties" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 633 - keyword-independence.json: "maximum + properties" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 634 - keyword-independence.json: "maximum + propertyNames" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 635 - keyword-independence.json: "maximum + propertyNames" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 636 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 637 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 638 - keyword-independence.json: "maximum + required" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 639 - keyword-independence.json: "maximum + required" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 640 - keyword-independence.json: "maximum + required" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 641 - keyword-independence.json: "maximum + required" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 642 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 643 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 644 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 645 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 646 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 647 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 648 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 649 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 650 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 651 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 652 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 653 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 654 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 655 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 656 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 657 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 658 - keyword-independence.json: "maxProperties + minimum" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 659 - keyword-independence.json: "maxProperties + minimum" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 660 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 661 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 662 - keyword-independence.json: "minProperties + minimum" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 663 - keyword-independence.json: "minProperties + minimum" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 664 - keyword-independence.json: "minProperties + minimum" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 665 - keyword-independence.json: "minProperties + minimum" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 666 - keyword-independence.json: "minimum + patternProperties" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 667 - keyword-independence.json: "minimum + patternProperties" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 668 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 669 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 670 - keyword-independence.json: "minimum + properties" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 671 - keyword-independence.json: "minimum + properties" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 672 - keyword-independence.json: "minimum + properties" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 673 - keyword-independence.json: "minimum + properties" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 674 - keyword-independence.json: "minimum + propertyNames" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 675 - keyword-independence.json: "minimum + propertyNames" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 676 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 677 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 678 - keyword-independence.json: "minimum + required" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 679 - keyword-independence.json: "minimum + required" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 680 - keyword-independence.json: "minimum + required" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 681 - keyword-independence.json: "minimum + required" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 682 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 683 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 684 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 685 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 686 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 687 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 688 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 689 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 690 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 691 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 692 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 693 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 694 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 695 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 696 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 697 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 698 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 699 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 700 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 701 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 702 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 703 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 704 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 705 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 706 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 707 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 708 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 709 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 710 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 711 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 712 - keyword-independence.json: "multipleOf + properties" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 713 - keyword-independence.json: "multipleOf + properties" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 714 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 715 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 716 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 717 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 718 - keyword-independence.json: "multipleOf + required" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 719 - keyword-independence.json: "multipleOf + required" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 720 - keyword-independence.json: "multipleOf + required" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 721 - keyword-independence.json: "multipleOf + required" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 722 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 723 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 724 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 725 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 726 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 727 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 728 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 729 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 730 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 731 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 732 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 733 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 734 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMaximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 735 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 736 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 737 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 738 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 739 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 740 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 741 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 742 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 743 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 744 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 745 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 746 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than or equal to 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/exclusiveMinimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 747 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 748 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 749 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 750 - keyword-independence.json: "maxLength + maximum" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 751 - keyword-independence.json: "maxLength + maximum" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 752 - keyword-independence.json: "maxLength + maximum" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 753 - keyword-independence.json: "maxLength + maximum" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 754 - keyword-independence.json: "maximum + minLength" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 755 - keyword-independence.json: "maximum + minLength" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 756 - keyword-independence.json: "maximum + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 757 - keyword-independence.json: "maximum + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 758 - keyword-independence.json: "maximum + pattern" - "number, maximum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 759 - keyword-independence.json: "maximum + pattern" - "number, maximum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 760 - keyword-independence.json: "maximum + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 761 - keyword-independence.json: "maximum + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 762 - keyword-independence.json: "maxLength + minimum" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 763 - keyword-independence.json: "maxLength + minimum" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 764 - keyword-independence.json: "maxLength + minimum" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 765 - keyword-independence.json: "maxLength + minimum" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 766 - keyword-independence.json: "minLength + minimum" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 767 - keyword-independence.json: "minLength + minimum" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 768 - keyword-independence.json: "minLength + minimum" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 769 - keyword-independence.json: "minLength + minimum" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 770 - keyword-independence.json: "minimum + pattern" - "number, minimum invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minimum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 771 - keyword-independence.json: "minimum + pattern" - "number, minimum valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 772 - keyword-independence.json: "minimum + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 773 - keyword-independence.json: "minimum + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 774 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 775 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 776 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 777 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 778 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 779 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 780 - keyword-independence.json: "minLength + multipleOf" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 781 - keyword-independence.json: "minLength + multipleOf" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 782 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/multipleOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 783 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 784 - keyword-independence.json: "multipleOf + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 785 - keyword-independence.json: "multipleOf + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 786 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 787 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 788 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 789 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 790 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 791 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 792 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 793 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 794 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/additionalProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 795 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 796 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 797 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 798 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 799 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 800 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 801 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 802 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 803 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 804 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 805 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 806 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: y", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentRequired" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 807 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 808 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 809 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 810 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 811 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 812 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 813 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 814 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 815 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 816 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 817 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 818 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas/x" 288s # }, 288s # { 288s # "error": "not all dependencies are satisfied", 288s # "instanceLocation": "", 288s # "keywordLocation": "/dependentSchemas" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 819 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 820 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 821 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 822 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 823 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 824 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 825 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 826 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 827 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 828 - keyword-independence.json: "maxProperties + minLength" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 829 - keyword-independence.json: "maxProperties + minLength" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 830 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has more than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 831 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 832 - keyword-independence.json: "maxProperties + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 833 - keyword-independence.json: "maxProperties + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 834 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 835 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 836 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 837 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 838 - keyword-independence.json: "minLength + minProperties" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 839 - keyword-independence.json: "minLength + minProperties" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 840 - keyword-independence.json: "minLength + minProperties" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 841 - keyword-independence.json: "minLength + minProperties" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 842 - keyword-independence.json: "minProperties + pattern" - "object, minProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object has fewer than 1 property", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 843 - keyword-independence.json: "minProperties + pattern" - "object, minProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 844 - keyword-independence.json: "minProperties + pattern" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 845 - keyword-independence.json: "minProperties + pattern" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 846 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 847 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 848 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 849 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 850 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 851 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 852 - keyword-independence.json: "minLength + patternProperties" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 853 - keyword-independence.json: "minLength + patternProperties" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 854 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/no", 288s # "keywordLocation": "/patternProperties/no" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 855 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 856 - keyword-independence.json: "pattern + patternProperties" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 857 - keyword-independence.json: "pattern + patternProperties" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 858 - keyword-independence.json: "maxLength + properties" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 859 - keyword-independence.json: "maxLength + properties" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 860 - keyword-independence.json: "maxLength + properties" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 861 - keyword-independence.json: "maxLength + properties" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 862 - keyword-independence.json: "minLength + properties" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 863 - keyword-independence.json: "minLength + properties" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 864 - keyword-independence.json: "minLength + properties" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 865 - keyword-independence.json: "minLength + properties" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 866 - keyword-independence.json: "pattern + properties" - "object, properties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/properties/x" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 867 - keyword-independence.json: "pattern + properties" - "object, properties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 868 - keyword-independence.json: "pattern + properties" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 869 - keyword-independence.json: "pattern + properties" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 870 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 871 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 872 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 873 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 874 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 875 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 876 - keyword-independence.json: "minLength + propertyNames" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 877 - keyword-independence.json: "minLength + propertyNames" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 878 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "subschema is false", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/propertyNames" 288s # }, 288s # { 288s # "error": "not all property names are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/propertyNames" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 879 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 880 - keyword-independence.json: "pattern + propertyNames" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 881 - keyword-independence.json: "pattern + propertyNames" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 882 - keyword-independence.json: "maxLength + required" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 883 - keyword-independence.json: "maxLength + required" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 884 - keyword-independence.json: "maxLength + required" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 885 - keyword-independence.json: "maxLength + required" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 886 - keyword-independence.json: "minLength + required" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 887 - keyword-independence.json: "minLength + required" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 888 - keyword-independence.json: "minLength + required" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 889 - keyword-independence.json: "minLength + required" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 890 - keyword-independence.json: "pattern + required" - "object, required invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "object is missing property: x", 288s # "instanceLocation": "", 288s # "keywordLocation": "/required" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 891 - keyword-independence.json: "pattern + required" - "object, required valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 892 - keyword-independence.json: "pattern + required" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 893 - keyword-independence.json: "pattern + required" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 894 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 895 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 896 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is greater than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/maxLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 897 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 898 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 899 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 900 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "length is less than 2", 288s # "instanceLocation": "", 288s # "keywordLocation": "/minLength" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 901 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 902 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "additional property not permitted", 288s # "instanceLocation": "/x", 288s # "keywordLocation": "/unevaluatedProperties" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 903 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 904 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "pattern does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/pattern" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 905 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s # 288s ok 906 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does not match string" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "/const_string", 288s # "keywordLocation": "/properties/const_string/const" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "/const_string", 288s # "keywordLocation": "/properties/const_string/const" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 907 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does match number" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 908 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value matches string" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 909 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value does not match number" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "/const_number", 288s # "keywordLocation": "/properties/const_number/const" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "/const_number", 288s # "keywordLocation": "/properties/const_number/const" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 910 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does not match string" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "/enum_string", 288s # "keywordLocation": "/properties/enum_string/enum" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "/enum_string", 288s # "keywordLocation": "/properties/enum_string/enum" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 911 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does match number" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 912 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value matches string" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 913 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value does not match number" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "/enum_number", 288s # "keywordLocation": "/properties/enum_number/enum" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "/enum_number", 288s # "keywordLocation": "/properties/enum_number/enum" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s ok 914 - recursive-dynamic.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "numeric node" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 915 - recursive-dynamic.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "integer node" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "integerNode.json#/type", 288s # "error": "got number, not one of object, integer", 288s # "instanceLocation": "/november", 288s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/else/$ref/additionalProperties" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "main.json#/else", 288s # "error": "subschema is not valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/else" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "integerNode.json#/type", 288s # "error": "got number, not one of object, integer", 288s # "instanceLocation": "/november", 288s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/else/$ref/additionalProperties" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "main.json#/else", 288s # "error": "subschema is not valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/else" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 916 - recursive-dynamic.json: "$recursiveRef points to a boolean schema" - "follow $recursiveRef to a true schema" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 917 - recursive-dynamic.json: "$recursiveRef points to a boolean schema" - "follow $recursiveRef to a false schema" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "#/$defs/false", 288s # "error": "subschema is false", 288s # "instanceLocation": "/false", 288s # "keywordLocation": "/properties/false/$recursiveRef" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "#/$defs/false", 288s # "error": "subschema is false", 288s # "instanceLocation": "/false", 288s # "keywordLocation": "/properties/false/$recursiveRef" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s 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" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s 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" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 288s # "error": "value is greater than 10", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$ref/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 288s # "error": "value is greater than 10", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$ref/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s 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" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s 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" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 288s # "error": "value is greater than 10", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$ref/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 288s # "error": "value is greater than 10", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$ref/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s 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" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s 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" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 288s # "error": "got string, not number", 288s # "instanceLocation": "", 288s # "keywordLocation": "/allOf/0/$ref/type" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 288s # "error": "got string, not number", 288s # "instanceLocation": "", 288s # "keywordLocation": "/allOf/0/oneOf/0/type" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf", 288s # "error": "no subschemas are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/allOf/0/oneOf" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 288s # "error": "subschema 0 is not valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/allOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 288s # "error": "got string, not number", 288s # "instanceLocation": "", 288s # "keywordLocation": "/allOf/0/$ref/type" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 288s # "error": "subschema 0 is not valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/allOf" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s ok 924 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 925 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 288s # "error": "value is greater than 10", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$ref/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 288s # "error": "value is greater than 10", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$ref/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 926 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 927 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 288s # "error": "value is greater than 10", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$ref/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 288s # "error": "value is greater than 10", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$ref/maximum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 928 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/enum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value does not match", 288s # "instanceLocation": "", 288s # "keywordLocation": "/enum" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 929 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 930 - ref.json: "invalid $ref: invalid anchor fragment" - "an invalid anchor fragment" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "$ref value is not a valid URI reference", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$defs/foo/$ref" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "$ref value is not a valid URI reference", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$defs/foo/$ref" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 931 - ref.json: "invalid $ref: invalid json-pointer fragment" - "an invalid json-pointer fragment" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "$ref value is not a valid URI reference", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$defs/foo/$ref" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "$ref value is not a valid URI reference", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$defs/foo/$ref" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 932 - ref.json: "base URI change - change folder in subschema with path from root" - "number is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 933 - ref.json: "base URI change - change folder in subschema with path from root" - "string is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 288s # "error": "got string, not integer", 288s # "instanceLocation": "/list/0", 288s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 288s # "error": "subschema is not valid against all items", 288s # "instanceLocation": "/list", 288s # "keywordLocation": "/properties/list/$ref/items" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 288s # "error": "got string, not integer", 288s # "instanceLocation": "/list/0", 288s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 288s # "error": "subschema is not valid against all items", 288s # "instanceLocation": "/list", 288s # "keywordLocation": "/properties/list/$ref/items" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s ok 934 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "single item is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 935 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "second item is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/1", 288s # "keywordLocation": "/items/multipleOf" 288s # }, 288s # { 288s # "error": "subschema is not valid against all items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/1", 288s # "keywordLocation": "/items/multipleOf" 288s # }, 288s # { 288s # "error": "subschema is not valid against all items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 936 - short-circuit.json: "items (array form) does not improperly short-circuit" - "single item is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 937 - short-circuit.json: "items (array form) does not improperly short-circuit" - "second item is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/1", 288s # "keywordLocation": "/items/1/multipleOf" 288s # }, 288s # { 288s # "error": "not all items are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/1", 288s # "keywordLocation": "/items/1/multipleOf" 288s # }, 288s # { 288s # "error": "not all items are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/items" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 938 - short-circuit.json: "additionalItems does not improperly short-circuit" - "single additional item is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 939 - short-circuit.json: "additionalItems does not improperly short-circuit" - "second additional item is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/2", 288s # "keywordLocation": "/additionalItems/multipleOf" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/2", 288s # "keywordLocation": "/additionalItems/multipleOf" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 940 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "single item is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 941 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "second item is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/1", 288s # "keywordLocation": "/unevaluatedItems/multipleOf" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/1", 288s # "keywordLocation": "/unevaluatedItems/multipleOf" 288s # }, 288s # { 288s # "error": "subschema is not valid against all additional items", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedItems" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 942 - short-circuit.json: "properties does not improperly short-circuit" - "single property is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 943 - short-circuit.json: "properties does not improperly short-circuit" - "second property is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/properties/beta/multipleOf" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/properties/beta/multipleOf" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 944 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 945 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/properties/beta" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/properties/beta" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/properties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 946 - short-circuit.json: "patternProperties does not improperly short-circuit" - "single property is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 947 - short-circuit.json: "patternProperties does not improperly short-circuit" - "second property is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/patternProperties/^b/multipleOf" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/patternProperties/^b/multipleOf" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 948 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 949 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/patternProperties/^b" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "property not permitted", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/patternProperties/^b" 288s # }, 288s # { 288s # "error": "not all properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/patternProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 950 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "single property is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 951 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "second property is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/additionalProperties/multipleOf" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/additionalProperties/multipleOf" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/additionalProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 952 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "single property is valid" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 953 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "second property is invalid" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/unevaluatedProperties/multipleOf" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "value is not a multiple of 2", 288s # "instanceLocation": "/beta", 288s # "keywordLocation": "/unevaluatedProperties/multipleOf" 288s # }, 288s # { 288s # "error": "not all additional properties are valid", 288s # "instanceLocation": "", 288s # "keywordLocation": "/unevaluatedProperties" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s ok 954 - unknownKeyword.json: "past and future keywords are ignored" - "passing" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 955 - unknownKeyword.json: "past and future keywords are ignored" - "failing (string)" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "got string, not number", 288s # "instanceLocation": "", 288s # "keywordLocation": "/type" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "got string, not number", 288s # "instanceLocation": "", 288s # "keywordLocation": "/type" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 956 - unknownKeyword.json: "past and future keywords are ignored" - "failing (object)" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "got object, not number", 288s # "instanceLocation": "", 288s # "keywordLocation": "/type" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "got object, not number", 288s # "instanceLocation": "", 288s # "keywordLocation": "/type" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 957 - unknownKeyword.json: "past and future keywords are ignored" - "failing (array)" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "got array, not number", 288s # "instanceLocation": "", 288s # "keywordLocation": "/type" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "got array, not number", 288s # "instanceLocation": "", 288s # "keywordLocation": "/type" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s ok 958 - vocabulary.json: "valid $vocabulary" - "a valid $vocabulary value" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s 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" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 960 - vocabulary.json: "use schema (invalid $vocabulary) as a metaschema" - "invalid $vocabulary value: wrong specification version" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core", 288s # "error": "\"https://json-schema.org/draft/2020-12/vocab/core\" uses draft2020-12, but the metaschema itself uses draft2019-09", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 288s # "error": "the first vocabulary (by evaluation_order) must be Core", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema/$vocabulary" 288s # }, 288s # { 288s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core", 288s # "error": "\"https://json-schema.org/draft/2020-12/vocab/core\" uses draft2020-12, but the metaschema itself uses draft2019-09", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core" 288s # }, 288s # { 288s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 288s # "error": "the first vocabulary (by evaluation_order) must be Core", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema/$vocabulary" 288s # }, 288s # { 288s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 961 - vocabulary.json: "invalid $vocabulary (unknown URI), but not until we evaluate with this metaschema" - "invalid $vocabulary (unknown URI): register this metaschema" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 962 - vocabulary.json: "use schema (unknown URI) as a metaschema" - "invalid $vocabulary value: unknown URI" { 288s # result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 288s # "error": "\"https://foo.com\" is not a known vocabulary", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 288s # }, 288s # { 288s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 288s # "error": "\"https://foo.com\" is not a known vocabulary", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 288s # }, 288s # { 288s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 288s # "instanceLocation": "", 288s # "keywordLocation": "/$schema" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s ok 963 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, UTC" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 964 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, with minus offset" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 965 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, UTC" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid date-time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid date-time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 966 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, with minus offset" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid date-time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid date-time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s ok 967 - optional/format-date.json: "non-ascii digits should be rejected" - "BENGALI DIGIT TWO is not valid in dates" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid date", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid date", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s ok 968 - optional/format-time.json: "validation of time strings" - "valid leap second, Zulu" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 969 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 970 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 971 - optional/format-time.json: "validation of time strings" - "valid leap second, positive time-offset" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 972 - optional/format-time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 973 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 974 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 975 - optional/format-time.json: "validation of time strings" - "valid leap second, negative time-offset" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 976 - optional/format-time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 288s # result: { 288s # "valid": true 288s # } 288s # short-circuited result: { 288s # "valid": true 288s # } 288s ok 1 - test passes: data is valid: true 288s 1..1 288s } 288s ok 977 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 978 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 979 - optional/format-time.json: "validation of time strings" - "no time offset" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s ok 980 - optional/format-time.json: "validation of time strings" - "non-ascii digits should be rejected" { 288s # result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s # short-circuited result: { 288s # "errors": [ 288s # { 288s # "error": "not a valid time", 288s # "instanceLocation": "", 288s # "keywordLocation": "/format" 288s # } 288s # ], 288s # "valid": false 288s # } 288s ok 1 - test passes: data is valid: false 288s 1..1 288s } 288s # 288s # 288s # generated with: Test::JSON::Schema::Acceptance 1.026 288s # specification version: draft2019-09 288s # using custom test directory: t/additional-tests-draft2019-09 288s # optional tests included: yes 288s # 288s # filename pass todo-fail fail 288s # --------------------------------------------------------------- 288s # anchor.json 2 0 0 288s # annotation-collection.json 10 0 0 288s # badRef.json 3 0 0 288s # faux-buggy-schemas.json 2 0 0 288s # format-duration.json 9 0 0 288s # format-ipv4.json 4 0 0 288s # format-ipv6.json 17 0 0 288s # format-relative-json-pointer.json 7 0 0 288s # formats.json 4 0 0 288s # id.json 6 0 0 288s # integers.json 29 0 0 288s # keyword-independence.json 812 0 0 288s # loose-types-const-enum.json 8 0 0 288s # recursive-dynamic.json 4 0 0 288s # ref-and-id.json 6 0 0 288s # ref.json 10 0 0 288s # short-circuit.json 20 0 0 288s # unknownKeyword.json 4 0 0 288s # vocabulary.json 5 0 0 288s # optional/format-date-time.json 4 0 0 288s # optional/format-date.json 1 0 0 288s # optional/format-time.json 13 0 0 288s # --------------------------------------------------------------- 288s # TOTAL 980 0 0 288s # 288s # Congratulations, all non-optional tests are passing! 288s # 288s ok 981 - no leaks in the main evaluator object 288s ok 982 - no leaks in the short-circuiting evaluator object 288s ok 983 - got unsupported keyword warnings 288s 1..983 288s ok 295s t/additional-tests-draft2020-12.t ....... 295s # AUTHOR_TESTING: 295s # AUTOMATED_TESTING: 1 295s # EXTENDED_TESTING: 295s # NO_TODO: 295s # TEST_DIR: 295s # NO_SHORT_CIRCUIT: 295s # 295s # running tests in /tmp/autopkgtest.vuKWDd/autopkgtest_tmp/smokehavTUc/t/additional-tests-draft2020-12 against draft2020-12... 295s # 295s ok 1 - anchor.json: "non-schema object containing an $anchor property" - "skip traversing definition for a valid result" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 2 - anchor.json: "non-schema object containing an $anchor property" - "const at const_not_anchor does not match" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else/$ref/const" 295s # }, 295s # { 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else/$ref/const" 295s # }, 295s # { 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 3 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "properties evaluated from allOf" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 4 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "extra property" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/bar", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/bar", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 5 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "properties evaluated from additionalProperties" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 6 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "extra property" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/bar", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/bar", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 7 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "properties evaluated from allOf, but unevaluated is buried" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/foo", 295s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "no subschemas are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/foo", 295s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "no subschemas are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 8 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "no properties" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 9 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "properties evaluated from additionalProperties, but unevaluated is buried" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/foo", 295s # "keywordLocation": "/allOf/0/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf/0/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "subschema 0 is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/foo", 295s # "keywordLocation": "/allOf/0/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf/0/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "subschema 0 is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 10 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "no properties" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 11 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 12 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/not" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/not" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 13 - badRef.json: "good references in schemas" - "this data is never used" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 14 - badRef.json: "bad $ref in schema: not a valid anchor fragment" - "this data is never used" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "$ref value is not a valid URI reference", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then/$ref" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "$ref value is not a valid URI reference", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then/$ref" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 15 - badRef.json: "bad $ref in schema: not a valid json pointer fragment" - "this data is never used" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "$ref value is not a valid URI reference", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then/$ref" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "$ref value is not a valid URI reference", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then/$ref" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s 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" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 295s # "error": "got string, not null", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then/$ref/$dynamicRef/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "main#/then", 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 295s # "error": "got string, not null", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then/$ref/$dynamicRef/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "main#/then", 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s 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" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 295s # "error": "got integer, not null", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then/$ref/$dynamicRef/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "main#/then", 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 295s # "error": "got integer, not null", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then/$ref/$dynamicRef/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "main#/then", 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/then" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s 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" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 19 - dynamicRef.json: "schema in dynamic scope must have a $dynamicAnchor that matches the fragment" - "value would fail under either subschema" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "orig#/minimum", 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$dynamicRef/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "orig#/minimum", 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$dynamicRef/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s 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" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 21 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a true schema" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 22 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a false schema" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "#/$defs/false", 295s # "error": "subschema is false", 295s # "instanceLocation": "/false", 295s # "keywordLocation": "/properties/false/$dynamicRef" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "#/$defs/false", 295s # "error": "subschema is false", 295s # "instanceLocation": "/false", 295s # "keywordLocation": "/properties/false/$dynamicRef" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 23 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match the type checks" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 24 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match none of the options" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 295s # "error": "got string, not integer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/0/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 295s # "error": "got string, not integer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/1/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/2/const" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/3/enum" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 295s # "error": "no subschemas are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 295s # "error": "got string, not integer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/0/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 295s # "error": "got string, not integer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/1/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/2/const" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf/3/enum" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 295s # "error": "no subschemas are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/anyOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 25 - format-duration.json: "validation of duration strings" - "years and months can appear without days" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 26 - format-duration.json: "validation of duration strings" - "months and days can appear without years" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 27 - format-duration.json: "validation of duration strings" - "hours and minutes can appear without seconds" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 28 - format-duration.json: "validation of duration strings" - "minutes and seconds can appear without hour" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 29 - format-duration.json: "validation of duration strings" - "elements may be omitted if their value is zero" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 30 - format-duration.json: "validation of duration strings" - "half a year duration, with full stop decimal point" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 31 - format-duration.json: "validation of duration strings" - "half a year duration, with comma decimal point" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 32 - format-duration.json: "validation of duration strings" - "only one unit can have a non-integer quantity" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid duration", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid duration", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 33 - format-duration.json: "validation of duration strings" - "only the smallest unit can have a non-integer quantity" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid duration", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid duration", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 34 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, as they are treated as octal values" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 35 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, even if not a valid octal value" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 36 - format-ipv4.json: "validation of ipv4 strings" - "value without leading zero is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 37 - format-ipv4.json: "validation of ipv4 strings" - "non-ascii digits should be rejected" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 38 - format-ipv6.json: "validation of ipv6 strings" - "fully expanded with zeroes" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 39 - format-ipv6.json: "validation of ipv6 strings" - "partially collapsed zeroes" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 40 - format-ipv6.json: "validation of ipv6 strings" - "4,2 zeroes" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 41 - format-ipv6.json: "validation of ipv6 strings" - "8 single zeroes, no double colon" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 42 - format-ipv6.json: "validation of ipv6 strings" - "7 single zeroes, leading double colon" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 43 - format-ipv6.json: "validation of ipv6 strings" - "6 single zeroes, leading double colon" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 44 - format-ipv6.json: "validation of ipv6 strings" - "5 single zeroes, leading double colon" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 45 - format-ipv6.json: "validation of ipv6 strings" - "4 single zeroes, leading double colon" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 46 - format-ipv6.json: "validation of ipv6 strings" - "3 single zeroes, leading double colon" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 47 - format-ipv6.json: "validation of ipv6 strings" - "2 single zeroes, leading double colon" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 48 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, leading double colon" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 49 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, trailing double colon" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 50 - format-ipv6.json: "validation of ipv6 strings" - "2 leading colons with 8 zeroes" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 51 - format-ipv6.json: "validation of ipv6 strings" - "1 leading colon with 8 zeroes" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 52 - format-ipv6.json: "validation of ipv6 strings" - "colons in the middle with 8 zeroes" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 53 - format-ipv6.json: "validation of ipv6 strings" - "1 trailing colon with 8 zeroes" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 54 - format-ipv6.json: "validation of ipv6 strings" - "2 trailing colons with 8 zeroes" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid ipv6", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 55 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with empty json-pointer" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 56 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with one-char json-pointer" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 57 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with longer json-pointer" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 58 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer \#" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 59 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "\#\# is not a valid json-pointer" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid relative-json-pointer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid relative-json-pointer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 60 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus json-pointer" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid relative-json-pointer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid relative-json-pointer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 61 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus octothorpe" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid relative-json-pointer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid relative-json-pointer", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 62 - formats.json: "format validation after a $ref" - "invalid duration" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "#/$defs/my_format/format", 295s # "error": "not a valid duration", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "#/$defs/my_format/format", 295s # "error": "not a valid duration", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 63 - formats.json: "format validation after a $ref" - "valid duration" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 64 - formats.json: "format validation after an $id" - "invalid duration" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 295s # "error": "not a valid duration", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items/allOf/0/format" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "bloop#/allOf", 295s # "error": "subschema 0 is not valid", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items/allOf" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 295s # "error": "not a valid duration", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items/allOf/0/format" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "bloop#/allOf", 295s # "error": "subschema 0 is not valid", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items/allOf" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 65 - formats.json: "format validation after an $id" - "valid duration" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s # 295s ok 66 - id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 67 - id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else/$ref/const" 295s # }, 295s # { 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else/$ref/const" 295s # }, 295s # { 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 68 - id.json: "'' not permitted as $id" - "schema would pass without $id" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "$id cannot be empty", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$id" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "$id cannot be empty", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$id" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 69 - id.json: "'' not permitted as $id" - "schema would fail even without $id" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "$id cannot be empty", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$id" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "$id cannot be empty", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$id" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 70 - id.json: "'\#' not permitted as $id" - "schema would pass without $id" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "$id cannot be empty", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$id" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "$id cannot be empty", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$id" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 71 - id.json: "'\#' not permitted as $id" - "schema would fail even without $id" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "$id cannot be empty", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$id" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "$id cannot be empty", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$id" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 72 - integers.json: "type checks" - "beyond int64 lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 73 - integers.json: "type checks" - "int64 lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 74 - integers.json: "type checks" - "beyond int32 lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 75 - integers.json: "type checks" - "int32 lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 76 - integers.json: "type checks" - "zero" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 77 - integers.json: "type checks" - "int32 upper boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 78 - integers.json: "type checks" - "beyond int32 upper boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 79 - integers.json: "type checks" - "upper int64 boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 80 - integers.json: "type checks" - "beyond int64 upper boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 81 - integers.json: "int32 range checks" - "beyond lower boundary" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than -2147483648", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than -2147483648", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 82 - integers.json: "int32 range checks" - "lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 83 - integers.json: "int32 range checks" - "zero" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 84 - integers.json: "int32 range checks" - "upper boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 85 - integers.json: "int32 range checks" - "beyond upper boundary" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2147483647", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2147483647", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 86 - integers.json: "int64 range checks" - "beyond lower boundary" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than -9223372036854775808", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than -9223372036854775808", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 87 - integers.json: "int64 range checks" - "lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 88 - integers.json: "int64 range checks" - "zero" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 89 - integers.json: "int64 range checks" - "upper boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 90 - integers.json: "int64 range checks" - "beyond upper boundary" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 9223372036854775807", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 9223372036854775807", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 91 - integers.json: "equality checks" - "beyond int64 lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 92 - integers.json: "equality checks" - "int64 lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 93 - integers.json: "equality checks" - "beyond int32 lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 94 - integers.json: "equality checks" - "int32 lower boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 95 - integers.json: "equality checks" - "zero" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 96 - integers.json: "equality checks" - "one" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/enum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/enum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 97 - integers.json: "equality checks" - "int32 upper boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 98 - integers.json: "equality checks" - "beyond int32 upper boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 99 - integers.json: "equality checks" - "int64 upper boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 100 - integers.json: "equality checks" - "beyond int64 upper boundary" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s # 295s ok 101 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 102 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 103 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 104 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 105 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 106 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 107 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 108 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 109 - keyword-independence.json: "contains + maximum" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 110 - keyword-independence.json: "contains + maximum" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 111 - keyword-independence.json: "contains + maximum" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 112 - keyword-independence.json: "contains + maximum" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 113 - keyword-independence.json: "contains + minimum" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 114 - keyword-independence.json: "contains + minimum" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 115 - keyword-independence.json: "contains + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 116 - keyword-independence.json: "contains + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 117 - keyword-independence.json: "contains + multipleOf" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 118 - keyword-independence.json: "contains + multipleOf" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 119 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 120 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 121 - keyword-independence.json: "exclusiveMaximum + items" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 122 - keyword-independence.json: "exclusiveMaximum + items" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 123 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 124 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 125 - keyword-independence.json: "exclusiveMinimum + items" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 126 - keyword-independence.json: "exclusiveMinimum + items" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 127 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 128 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 129 - keyword-independence.json: "items + maximum" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 130 - keyword-independence.json: "items + maximum" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 131 - keyword-independence.json: "items + maximum" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 132 - keyword-independence.json: "items + maximum" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 133 - keyword-independence.json: "items + minimum" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 134 - keyword-independence.json: "items + minimum" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 135 - keyword-independence.json: "items + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 136 - keyword-independence.json: "items + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 137 - keyword-independence.json: "items + multipleOf" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 138 - keyword-independence.json: "items + multipleOf" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 139 - keyword-independence.json: "items + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 140 - keyword-independence.json: "items + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 141 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 142 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 143 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 144 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 145 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 146 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 147 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 148 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 149 - keyword-independence.json: "maxItems + maximum" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 150 - keyword-independence.json: "maxItems + maximum" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 151 - keyword-independence.json: "maxItems + maximum" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 152 - keyword-independence.json: "maxItems + maximum" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 153 - keyword-independence.json: "maxItems + minimum" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 154 - keyword-independence.json: "maxItems + minimum" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 155 - keyword-independence.json: "maxItems + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 156 - keyword-independence.json: "maxItems + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 157 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 158 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 159 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 160 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 161 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 162 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 163 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 164 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 165 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 166 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 167 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 168 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 169 - keyword-independence.json: "maximum + minItems" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 170 - keyword-independence.json: "maximum + minItems" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 171 - keyword-independence.json: "maximum + minItems" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 172 - keyword-independence.json: "maximum + minItems" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 173 - keyword-independence.json: "minItems + minimum" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 174 - keyword-independence.json: "minItems + minimum" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 175 - keyword-independence.json: "minItems + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 176 - keyword-independence.json: "minItems + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 177 - keyword-independence.json: "minItems + multipleOf" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 178 - keyword-independence.json: "minItems + multipleOf" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 179 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 180 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 181 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 182 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 183 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 184 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 185 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 186 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 187 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 188 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 189 - keyword-independence.json: "maximum + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 190 - keyword-independence.json: "maximum + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 191 - keyword-independence.json: "maximum + prefixItems" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 192 - keyword-independence.json: "maximum + prefixItems" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 193 - keyword-independence.json: "minimum + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 194 - keyword-independence.json: "minimum + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 195 - keyword-independence.json: "minimum + prefixItems" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 196 - keyword-independence.json: "minimum + prefixItems" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 197 - keyword-independence.json: "multipleOf + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 198 - keyword-independence.json: "multipleOf + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 199 - keyword-independence.json: "multipleOf + prefixItems" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 200 - keyword-independence.json: "multipleOf + prefixItems" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 201 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 202 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 203 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 204 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 205 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 206 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 207 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 208 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 209 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 210 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 211 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 212 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 213 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 214 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 215 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 216 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 217 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 218 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 219 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 220 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 221 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 222 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 223 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 224 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 225 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 226 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 227 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 228 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 229 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 230 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 231 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 232 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 233 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 234 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 235 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 236 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 237 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 238 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 239 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 240 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 241 - keyword-independence.json: "additionalProperties + contains" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 242 - keyword-independence.json: "additionalProperties + contains" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 243 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 244 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 245 - keyword-independence.json: "contains + dependentRequired" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 246 - keyword-independence.json: "contains + dependentRequired" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 247 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 248 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 249 - keyword-independence.json: "contains + dependentSchemas" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 250 - keyword-independence.json: "contains + dependentSchemas" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 251 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 252 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 253 - keyword-independence.json: "contains + maxProperties" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 254 - keyword-independence.json: "contains + maxProperties" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 255 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 256 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 257 - keyword-independence.json: "contains + minProperties" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 258 - keyword-independence.json: "contains + minProperties" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 259 - keyword-independence.json: "contains + minProperties" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 260 - keyword-independence.json: "contains + minProperties" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 261 - keyword-independence.json: "contains + patternProperties" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 262 - keyword-independence.json: "contains + patternProperties" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 263 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 264 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 265 - keyword-independence.json: "contains + properties" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 266 - keyword-independence.json: "contains + properties" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 267 - keyword-independence.json: "contains + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 268 - keyword-independence.json: "contains + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 269 - keyword-independence.json: "contains + propertyNames" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 270 - keyword-independence.json: "contains + propertyNames" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 271 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 272 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 273 - keyword-independence.json: "contains + required" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 274 - keyword-independence.json: "contains + required" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 275 - keyword-independence.json: "contains + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 276 - keyword-independence.json: "contains + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 277 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 278 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 279 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 280 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 281 - keyword-independence.json: "additionalProperties + items" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 282 - keyword-independence.json: "additionalProperties + items" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 283 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 284 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 285 - keyword-independence.json: "dependentRequired + items" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 286 - keyword-independence.json: "dependentRequired + items" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 287 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 288 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 289 - keyword-independence.json: "dependentSchemas + items" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 290 - keyword-independence.json: "dependentSchemas + items" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 291 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 292 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 293 - keyword-independence.json: "items + maxProperties" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 294 - keyword-independence.json: "items + maxProperties" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 295 - keyword-independence.json: "items + maxProperties" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 296 - keyword-independence.json: "items + maxProperties" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 297 - keyword-independence.json: "items + minProperties" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 298 - keyword-independence.json: "items + minProperties" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 299 - keyword-independence.json: "items + minProperties" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 300 - keyword-independence.json: "items + minProperties" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 301 - keyword-independence.json: "items + patternProperties" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 302 - keyword-independence.json: "items + patternProperties" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 303 - keyword-independence.json: "items + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 304 - keyword-independence.json: "items + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 305 - keyword-independence.json: "items + properties" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 306 - keyword-independence.json: "items + properties" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 307 - keyword-independence.json: "items + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 308 - keyword-independence.json: "items + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 309 - keyword-independence.json: "items + propertyNames" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 310 - keyword-independence.json: "items + propertyNames" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 311 - keyword-independence.json: "items + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 312 - keyword-independence.json: "items + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 313 - keyword-independence.json: "items + required" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 314 - keyword-independence.json: "items + required" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 315 - keyword-independence.json: "items + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 316 - keyword-independence.json: "items + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 317 - keyword-independence.json: "items + unevaluatedProperties" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 318 - keyword-independence.json: "items + unevaluatedProperties" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 319 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 320 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 321 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 322 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 323 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 324 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 325 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 326 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 327 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 328 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 329 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 330 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 331 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 332 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 333 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 334 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 335 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 336 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 337 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 338 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 339 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 340 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 341 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 342 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 343 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 344 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 345 - keyword-independence.json: "maxItems + properties" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 346 - keyword-independence.json: "maxItems + properties" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 347 - keyword-independence.json: "maxItems + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 348 - keyword-independence.json: "maxItems + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 349 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 350 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 351 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 352 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 353 - keyword-independence.json: "maxItems + required" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 354 - keyword-independence.json: "maxItems + required" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 355 - keyword-independence.json: "maxItems + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 356 - keyword-independence.json: "maxItems + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 357 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 358 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 359 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 360 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 361 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 362 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 363 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 364 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 365 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 366 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 367 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 368 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 369 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 370 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 371 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 372 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 373 - keyword-independence.json: "maxProperties + minItems" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 374 - keyword-independence.json: "maxProperties + minItems" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 375 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 376 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 377 - keyword-independence.json: "minItems + minProperties" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 378 - keyword-independence.json: "minItems + minProperties" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 379 - keyword-independence.json: "minItems + minProperties" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 380 - keyword-independence.json: "minItems + minProperties" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 381 - keyword-independence.json: "minItems + patternProperties" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 382 - keyword-independence.json: "minItems + patternProperties" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 383 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 384 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 385 - keyword-independence.json: "minItems + properties" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 386 - keyword-independence.json: "minItems + properties" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 387 - keyword-independence.json: "minItems + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 388 - keyword-independence.json: "minItems + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 389 - keyword-independence.json: "minItems + propertyNames" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 390 - keyword-independence.json: "minItems + propertyNames" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 391 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 392 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 393 - keyword-independence.json: "minItems + required" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 394 - keyword-independence.json: "minItems + required" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 395 - keyword-independence.json: "minItems + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 396 - keyword-independence.json: "minItems + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 397 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 398 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 399 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 400 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 401 - keyword-independence.json: "additionalProperties + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 402 - keyword-independence.json: "additionalProperties + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 403 - keyword-independence.json: "additionalProperties + prefixItems" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 404 - keyword-independence.json: "additionalProperties + prefixItems" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 405 - keyword-independence.json: "dependentRequired + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 406 - keyword-independence.json: "dependentRequired + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 407 - keyword-independence.json: "dependentRequired + prefixItems" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 408 - keyword-independence.json: "dependentRequired + prefixItems" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 409 - keyword-independence.json: "dependentSchemas + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 410 - keyword-independence.json: "dependentSchemas + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 411 - keyword-independence.json: "dependentSchemas + prefixItems" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 412 - keyword-independence.json: "dependentSchemas + prefixItems" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 413 - keyword-independence.json: "maxProperties + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 414 - keyword-independence.json: "maxProperties + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 415 - keyword-independence.json: "maxProperties + prefixItems" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 416 - keyword-independence.json: "maxProperties + prefixItems" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 417 - keyword-independence.json: "minProperties + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 418 - keyword-independence.json: "minProperties + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 419 - keyword-independence.json: "minProperties + prefixItems" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 420 - keyword-independence.json: "minProperties + prefixItems" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 421 - keyword-independence.json: "patternProperties + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 422 - keyword-independence.json: "patternProperties + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 423 - keyword-independence.json: "patternProperties + prefixItems" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 424 - keyword-independence.json: "patternProperties + prefixItems" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 425 - keyword-independence.json: "prefixItems + properties" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 426 - keyword-independence.json: "prefixItems + properties" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 427 - keyword-independence.json: "prefixItems + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 428 - keyword-independence.json: "prefixItems + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 429 - keyword-independence.json: "prefixItems + propertyNames" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 430 - keyword-independence.json: "prefixItems + propertyNames" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 431 - keyword-independence.json: "prefixItems + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 432 - keyword-independence.json: "prefixItems + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 433 - keyword-independence.json: "prefixItems + required" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 434 - keyword-independence.json: "prefixItems + required" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 435 - keyword-independence.json: "prefixItems + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 436 - keyword-independence.json: "prefixItems + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 437 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 438 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 439 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 440 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 441 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 442 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 443 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 444 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 445 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 446 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 447 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 448 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 449 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 450 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 451 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 452 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 453 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 454 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 455 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 456 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 457 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 458 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 459 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 460 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 461 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 462 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 463 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 464 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 465 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 466 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 467 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 468 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 469 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 470 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 471 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 472 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 473 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 474 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 475 - keyword-independence.json: "required + unevaluatedItems" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 476 - keyword-independence.json: "required + unevaluatedItems" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 477 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 478 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 479 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 480 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 481 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 482 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 483 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 484 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 485 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 486 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 487 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 488 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 489 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 490 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 491 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 492 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 493 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 494 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 495 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 496 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 497 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 498 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 499 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 500 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 501 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 502 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 503 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 504 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 505 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 506 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 507 - keyword-independence.json: "properties + uniqueItems" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 508 - keyword-independence.json: "properties + uniqueItems" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 509 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 510 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 511 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 512 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 513 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 514 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 515 - keyword-independence.json: "required + uniqueItems" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 516 - keyword-independence.json: "required + uniqueItems" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 517 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 518 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 519 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 520 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 521 - keyword-independence.json: "contains + maxLength" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 522 - keyword-independence.json: "contains + maxLength" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 523 - keyword-independence.json: "contains + maxLength" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 524 - keyword-independence.json: "contains + maxLength" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 525 - keyword-independence.json: "contains + minLength" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 526 - keyword-independence.json: "contains + minLength" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 527 - keyword-independence.json: "contains + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 528 - keyword-independence.json: "contains + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 529 - keyword-independence.json: "contains + pattern" - "array, contains invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is not valid against any item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/contains" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 530 - keyword-independence.json: "contains + pattern" - "array, contains valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 531 - keyword-independence.json: "contains + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 532 - keyword-independence.json: "contains + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 533 - keyword-independence.json: "items + maxLength" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 534 - keyword-independence.json: "items + maxLength" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 535 - keyword-independence.json: "items + maxLength" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 536 - keyword-independence.json: "items + maxLength" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 537 - keyword-independence.json: "items + minLength" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 538 - keyword-independence.json: "items + minLength" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 539 - keyword-independence.json: "items + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 540 - keyword-independence.json: "items + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 541 - keyword-independence.json: "items + pattern" - "array, items invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/items" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 542 - keyword-independence.json: "items + pattern" - "array, items valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 543 - keyword-independence.json: "items + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 544 - keyword-independence.json: "items + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 545 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 546 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 547 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 548 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 549 - keyword-independence.json: "maxItems + minLength" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 550 - keyword-independence.json: "maxItems + minLength" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 551 - keyword-independence.json: "maxItems + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 552 - keyword-independence.json: "maxItems + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 553 - keyword-independence.json: "maxItems + pattern" - "array, maxItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has more than 1 item", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 554 - keyword-independence.json: "maxItems + pattern" - "array, maxItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 555 - keyword-independence.json: "maxItems + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 556 - keyword-independence.json: "maxItems + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 557 - keyword-independence.json: "maxLength + minItems" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 558 - keyword-independence.json: "maxLength + minItems" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 559 - keyword-independence.json: "maxLength + minItems" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 560 - keyword-independence.json: "maxLength + minItems" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 561 - keyword-independence.json: "minItems + minLength" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 562 - keyword-independence.json: "minItems + minLength" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 563 - keyword-independence.json: "minItems + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 564 - keyword-independence.json: "minItems + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 565 - keyword-independence.json: "minItems + pattern" - "array, minItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "array has fewer than 2 items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 566 - keyword-independence.json: "minItems + pattern" - "array, minItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 567 - keyword-independence.json: "minItems + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 568 - keyword-independence.json: "minItems + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 569 - keyword-independence.json: "maxLength + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 570 - keyword-independence.json: "maxLength + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 571 - keyword-independence.json: "maxLength + prefixItems" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 572 - keyword-independence.json: "maxLength + prefixItems" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 573 - keyword-independence.json: "minLength + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 574 - keyword-independence.json: "minLength + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 575 - keyword-independence.json: "minLength + prefixItems" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 576 - keyword-independence.json: "minLength + prefixItems" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 577 - keyword-independence.json: "pattern + prefixItems" - "array, prefixItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/prefixItems/0" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 578 - keyword-independence.json: "pattern + prefixItems" - "array, prefixItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 579 - keyword-independence.json: "pattern + prefixItems" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 580 - keyword-independence.json: "pattern + prefixItems" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 581 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 582 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 583 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 584 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 585 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 586 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 587 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 588 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 589 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional item not permitted", 295s # "instanceLocation": "/0", 295s # "keywordLocation": "/unevaluatedItems" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 590 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 591 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 592 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 593 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 594 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 595 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 596 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 597 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 598 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 599 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 600 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 601 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "items at indices 0 and 1 are not unique", 295s # "instanceLocation": "", 295s # "keywordLocation": "/uniqueItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 602 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 603 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 604 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 605 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 606 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 607 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 608 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 609 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 610 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 611 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 612 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 613 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 614 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 615 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 616 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 617 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 618 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 619 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 620 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 621 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 622 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 623 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 624 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 625 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 626 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 627 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 628 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 629 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 630 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 631 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 632 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 633 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 634 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 635 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 636 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 637 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 638 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 639 - keyword-independence.json: "exclusiveMaximum + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 640 - keyword-independence.json: "exclusiveMaximum + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 641 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 642 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 643 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 644 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 645 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 646 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 647 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 648 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 649 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 650 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 651 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 652 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 653 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 654 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 655 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 656 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 657 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 658 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 659 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 660 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 661 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 662 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 663 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 664 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 665 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 666 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 667 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 668 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 669 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 670 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 671 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 672 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 673 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 674 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 675 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 676 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 677 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 678 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 679 - keyword-independence.json: "exclusiveMinimum + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 680 - keyword-independence.json: "exclusiveMinimum + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 681 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 682 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 683 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 684 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 685 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 686 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 687 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 688 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 689 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 690 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 691 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 692 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 693 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 694 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 695 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 696 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 697 - keyword-independence.json: "maxProperties + maximum" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 698 - keyword-independence.json: "maxProperties + maximum" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 699 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 700 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 701 - keyword-independence.json: "maximum + minProperties" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 702 - keyword-independence.json: "maximum + minProperties" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 703 - keyword-independence.json: "maximum + minProperties" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 704 - keyword-independence.json: "maximum + minProperties" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 705 - keyword-independence.json: "maximum + patternProperties" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 706 - keyword-independence.json: "maximum + patternProperties" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 707 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 708 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 709 - keyword-independence.json: "maximum + properties" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 710 - keyword-independence.json: "maximum + properties" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 711 - keyword-independence.json: "maximum + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 712 - keyword-independence.json: "maximum + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 713 - keyword-independence.json: "maximum + propertyNames" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 714 - keyword-independence.json: "maximum + propertyNames" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 715 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 716 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 717 - keyword-independence.json: "maximum + required" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 718 - keyword-independence.json: "maximum + required" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 719 - keyword-independence.json: "maximum + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 720 - keyword-independence.json: "maximum + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 721 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 722 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 723 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 724 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 725 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 726 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 727 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 728 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 729 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 730 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 731 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 732 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 733 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 734 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 735 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 736 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 737 - keyword-independence.json: "maxProperties + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 738 - keyword-independence.json: "maxProperties + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 739 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 740 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 741 - keyword-independence.json: "minProperties + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 742 - keyword-independence.json: "minProperties + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 743 - keyword-independence.json: "minProperties + minimum" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 744 - keyword-independence.json: "minProperties + minimum" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 745 - keyword-independence.json: "minimum + patternProperties" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 746 - keyword-independence.json: "minimum + patternProperties" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 747 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 748 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 749 - keyword-independence.json: "minimum + properties" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 750 - keyword-independence.json: "minimum + properties" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 751 - keyword-independence.json: "minimum + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 752 - keyword-independence.json: "minimum + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 753 - keyword-independence.json: "minimum + propertyNames" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 754 - keyword-independence.json: "minimum + propertyNames" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 755 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 756 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 757 - keyword-independence.json: "minimum + required" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 758 - keyword-independence.json: "minimum + required" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 759 - keyword-independence.json: "minimum + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 760 - keyword-independence.json: "minimum + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 761 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 762 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 763 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 764 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 765 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 766 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 767 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 768 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 769 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 770 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 771 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 772 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 773 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 774 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 775 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 776 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 777 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 778 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 779 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 780 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 781 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 782 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 783 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 784 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 785 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 786 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 787 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 788 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 789 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 790 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 791 - keyword-independence.json: "multipleOf + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 792 - keyword-independence.json: "multipleOf + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 793 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 794 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 795 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 796 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 797 - keyword-independence.json: "multipleOf + required" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 798 - keyword-independence.json: "multipleOf + required" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 799 - keyword-independence.json: "multipleOf + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 800 - keyword-independence.json: "multipleOf + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 801 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 802 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 803 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 804 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 805 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 806 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 807 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 808 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 809 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 810 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 811 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 812 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 813 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMaximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 814 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 815 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 816 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 817 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 818 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 819 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 820 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 821 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 822 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 823 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 824 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 825 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than or equal to 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/exclusiveMinimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 826 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 827 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 828 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 829 - keyword-independence.json: "maxLength + maximum" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 830 - keyword-independence.json: "maxLength + maximum" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 831 - keyword-independence.json: "maxLength + maximum" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 832 - keyword-independence.json: "maxLength + maximum" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 833 - keyword-independence.json: "maximum + minLength" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 834 - keyword-independence.json: "maximum + minLength" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 835 - keyword-independence.json: "maximum + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 836 - keyword-independence.json: "maximum + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 837 - keyword-independence.json: "maximum + pattern" - "number, maximum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 838 - keyword-independence.json: "maximum + pattern" - "number, maximum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 839 - keyword-independence.json: "maximum + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 840 - keyword-independence.json: "maximum + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 841 - keyword-independence.json: "maxLength + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 842 - keyword-independence.json: "maxLength + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 843 - keyword-independence.json: "maxLength + minimum" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 844 - keyword-independence.json: "maxLength + minimum" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 845 - keyword-independence.json: "minLength + minimum" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 846 - keyword-independence.json: "minLength + minimum" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 847 - keyword-independence.json: "minLength + minimum" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 848 - keyword-independence.json: "minLength + minimum" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 849 - keyword-independence.json: "minimum + pattern" - "number, minimum invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minimum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 850 - keyword-independence.json: "minimum + pattern" - "number, minimum valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 851 - keyword-independence.json: "minimum + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 852 - keyword-independence.json: "minimum + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 853 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 854 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 855 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 856 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 857 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 858 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 859 - keyword-independence.json: "minLength + multipleOf" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 860 - keyword-independence.json: "minLength + multipleOf" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 861 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/multipleOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 862 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 863 - keyword-independence.json: "multipleOf + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 864 - keyword-independence.json: "multipleOf + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 865 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 866 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 867 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 868 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 869 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 870 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 871 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 872 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 873 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/additionalProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 874 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 875 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 876 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 877 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 878 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 879 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 880 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 881 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 882 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 883 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 884 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 885 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: y", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentRequired" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 886 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 887 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 888 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 889 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 890 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 891 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 892 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 893 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 894 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 895 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 896 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 897 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas/x" 295s # }, 295s # { 295s # "error": "not all dependencies are satisfied", 295s # "instanceLocation": "", 295s # "keywordLocation": "/dependentSchemas" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 898 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 899 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 900 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 901 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 902 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 903 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 904 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 905 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 906 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 907 - keyword-independence.json: "maxProperties + minLength" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 908 - keyword-independence.json: "maxProperties + minLength" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 909 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has more than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 910 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 911 - keyword-independence.json: "maxProperties + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 912 - keyword-independence.json: "maxProperties + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 913 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 914 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 915 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 916 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 917 - keyword-independence.json: "minLength + minProperties" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 918 - keyword-independence.json: "minLength + minProperties" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 919 - keyword-independence.json: "minLength + minProperties" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 920 - keyword-independence.json: "minLength + minProperties" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 921 - keyword-independence.json: "minProperties + pattern" - "object, minProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object has fewer than 1 property", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 922 - keyword-independence.json: "minProperties + pattern" - "object, minProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 923 - keyword-independence.json: "minProperties + pattern" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 924 - keyword-independence.json: "minProperties + pattern" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 925 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 926 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 927 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 928 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 929 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 930 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 931 - keyword-independence.json: "minLength + patternProperties" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 932 - keyword-independence.json: "minLength + patternProperties" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 933 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/no", 295s # "keywordLocation": "/patternProperties/no" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 934 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 935 - keyword-independence.json: "pattern + patternProperties" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 936 - keyword-independence.json: "pattern + patternProperties" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 937 - keyword-independence.json: "maxLength + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 938 - keyword-independence.json: "maxLength + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 939 - keyword-independence.json: "maxLength + properties" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 940 - keyword-independence.json: "maxLength + properties" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 941 - keyword-independence.json: "minLength + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 942 - keyword-independence.json: "minLength + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 943 - keyword-independence.json: "minLength + properties" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 944 - keyword-independence.json: "minLength + properties" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 945 - keyword-independence.json: "pattern + properties" - "object, properties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/properties/x" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 946 - keyword-independence.json: "pattern + properties" - "object, properties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 947 - keyword-independence.json: "pattern + properties" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 948 - keyword-independence.json: "pattern + properties" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 949 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 950 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 951 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 952 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 953 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 954 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 955 - keyword-independence.json: "minLength + propertyNames" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 956 - keyword-independence.json: "minLength + propertyNames" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 957 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "subschema is false", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/propertyNames" 295s # }, 295s # { 295s # "error": "not all property names are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/propertyNames" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 958 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 959 - keyword-independence.json: "pattern + propertyNames" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 960 - keyword-independence.json: "pattern + propertyNames" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 961 - keyword-independence.json: "maxLength + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 962 - keyword-independence.json: "maxLength + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 963 - keyword-independence.json: "maxLength + required" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 964 - keyword-independence.json: "maxLength + required" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 965 - keyword-independence.json: "minLength + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 966 - keyword-independence.json: "minLength + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 967 - keyword-independence.json: "minLength + required" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 968 - keyword-independence.json: "minLength + required" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 969 - keyword-independence.json: "pattern + required" - "object, required invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "object is missing property: x", 295s # "instanceLocation": "", 295s # "keywordLocation": "/required" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 970 - keyword-independence.json: "pattern + required" - "object, required valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 971 - keyword-independence.json: "pattern + required" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 972 - keyword-independence.json: "pattern + required" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 973 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 974 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 975 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is greater than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/maxLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 976 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 977 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 978 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 979 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "length is less than 2", 295s # "instanceLocation": "", 295s # "keywordLocation": "/minLength" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 980 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 981 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "additional property not permitted", 295s # "instanceLocation": "/x", 295s # "keywordLocation": "/unevaluatedProperties" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 982 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 983 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "pattern does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/pattern" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 984 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s # 295s ok 985 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does not match string" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "/const_string", 295s # "keywordLocation": "/properties/const_string/const" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "/const_string", 295s # "keywordLocation": "/properties/const_string/const" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 986 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does match number" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 987 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value matches string" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 988 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value does not match number" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "/const_number", 295s # "keywordLocation": "/properties/const_number/const" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "/const_number", 295s # "keywordLocation": "/properties/const_number/const" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 989 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does not match string" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "/enum_string", 295s # "keywordLocation": "/properties/enum_string/enum" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "/enum_string", 295s # "keywordLocation": "/properties/enum_string/enum" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 990 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does match number" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 991 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value matches string" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 992 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value does not match number" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "/enum_number", 295s # "keywordLocation": "/properties/enum_number/enum" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "/enum_number", 295s # "keywordLocation": "/properties/enum_number/enum" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 993 - recursive-dynamic.json: "dynamic $dynamicRef destination (not predictable at schema compile time)" - "numeric node" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 994 - recursive-dynamic.json: "dynamic $dynamicRef destination (not predictable at schema compile time)" - "integer node" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "integerNode.json#/type", 295s # "error": "got number, not one of object, integer", 295s # "instanceLocation": "/november", 295s # "keywordLocation": "/else/$ref/additionalProperties/$dynamicRef/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else/$ref/additionalProperties" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "main.json#/else", 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "integerNode.json#/type", 295s # "error": "got number, not one of object, integer", 295s # "instanceLocation": "/november", 295s # "keywordLocation": "/else/$ref/additionalProperties/$dynamicRef/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else/$ref/additionalProperties" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "main.json#/else", 295s # "error": "subschema is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/else" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s 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" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s 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" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 295s # "error": "value is greater than 10", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 295s # "error": "value is greater than 10", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s 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" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s 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" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 295s # "error": "value is greater than 10", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 295s # "error": "value is greater than 10", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s 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" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s 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" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 295s # "error": "got string, not number", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf/0/$ref/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 295s # "error": "got string, not number", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf/0/oneOf/0/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf", 295s # "error": "no subschemas are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf/0/oneOf" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 295s # "error": "subschema 0 is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 295s # "error": "got string, not number", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf/0/$ref/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 295s # "error": "subschema 0 is not valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/allOf" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 1001 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1002 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 295s # "error": "value is greater than 10", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 295s # "error": "value is greater than 10", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1003 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1004 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 295s # "error": "value is greater than 10", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 295s # "error": "value is greater than 10", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$ref/maximum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1005 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/enum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value does not match", 295s # "instanceLocation": "", 295s # "keywordLocation": "/enum" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1006 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1007 - ref.json: "invalid $ref: invalid anchor fragment" - "an invalid anchor fragment" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "$ref value is not a valid URI reference", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$defs/foo/$ref" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "$ref value is not a valid URI reference", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$defs/foo/$ref" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1008 - ref.json: "invalid $ref: invalid json-pointer fragment" - "an invalid json-pointer fragment" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "$ref value is not a valid URI reference", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$defs/foo/$ref" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "$ref value is not a valid URI reference", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$defs/foo/$ref" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1009 - ref.json: "base URI change - change folder in subschema with path from root" - "number is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1010 - ref.json: "base URI change - change folder in subschema with path from root" - "string is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 295s # "error": "got string, not integer", 295s # "instanceLocation": "/list/0", 295s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "/list", 295s # "keywordLocation": "/properties/list/$ref/items" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 295s # "error": "got string, not integer", 295s # "instanceLocation": "/list/0", 295s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "/list", 295s # "keywordLocation": "/properties/list/$ref/items" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 1011 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "single item is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1012 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "second item is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/1", 295s # "keywordLocation": "/items/multipleOf" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/1", 295s # "keywordLocation": "/items/multipleOf" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1013 - short-circuit.json: "prefixItems does not improperly short-circuit" - "single item is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1014 - short-circuit.json: "prefixItems does not improperly short-circuit" - "second item is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/1", 295s # "keywordLocation": "/prefixItems/1/multipleOf" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/1", 295s # "keywordLocation": "/prefixItems/1/multipleOf" 295s # }, 295s # { 295s # "error": "not all items are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/prefixItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1015 - short-circuit.json: "items does not improperly short-circuit" - "single additional item is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1016 - short-circuit.json: "items does not improperly short-circuit" - "second additional item is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/2", 295s # "keywordLocation": "/items/multipleOf" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/2", 295s # "keywordLocation": "/items/multipleOf" 295s # }, 295s # { 295s # "error": "subschema is not valid against all items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/items" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1017 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "single item is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1018 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "second item is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/1", 295s # "keywordLocation": "/unevaluatedItems/multipleOf" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/1", 295s # "keywordLocation": "/unevaluatedItems/multipleOf" 295s # }, 295s # { 295s # "error": "subschema is not valid against all additional items", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedItems" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1019 - short-circuit.json: "properties does not improperly short-circuit" - "single property is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1020 - short-circuit.json: "properties does not improperly short-circuit" - "second property is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/properties/beta/multipleOf" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/properties/beta/multipleOf" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1021 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1022 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/properties/beta" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/properties/beta" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/properties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1023 - short-circuit.json: "patternProperties does not improperly short-circuit" - "single property is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1024 - short-circuit.json: "patternProperties does not improperly short-circuit" - "second property is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/patternProperties/^b/multipleOf" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/patternProperties/^b/multipleOf" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1025 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1026 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/patternProperties/^b" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "property not permitted", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/patternProperties/^b" 295s # }, 295s # { 295s # "error": "not all properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/patternProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1027 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "single property is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1028 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "second property is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/additionalProperties/multipleOf" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/additionalProperties/multipleOf" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/additionalProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1029 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "single property is valid" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1030 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "second property is invalid" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/unevaluatedProperties/multipleOf" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "value is not a multiple of 2", 295s # "instanceLocation": "/beta", 295s # "keywordLocation": "/unevaluatedProperties/multipleOf" 295s # }, 295s # { 295s # "error": "not all additional properties are valid", 295s # "instanceLocation": "", 295s # "keywordLocation": "/unevaluatedProperties" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 1031 - unknownKeyword.json: "past and future keywords are ignored" - "passing" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1032 - unknownKeyword.json: "past and future keywords are ignored" - "failing (string)" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "got string, not number", 295s # "instanceLocation": "", 295s # "keywordLocation": "/type" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "got string, not number", 295s # "instanceLocation": "", 295s # "keywordLocation": "/type" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1033 - unknownKeyword.json: "past and future keywords are ignored" - "failing (object)" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "got object, not number", 295s # "instanceLocation": "", 295s # "keywordLocation": "/type" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "got object, not number", 295s # "instanceLocation": "", 295s # "keywordLocation": "/type" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1034 - unknownKeyword.json: "past and future keywords are ignored" - "failing (array)" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "got array, not number", 295s # "instanceLocation": "", 295s # "keywordLocation": "/type" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "got array, not number", 295s # "instanceLocation": "", 295s # "keywordLocation": "/type" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 1035 - vocabulary.json: "valid $vocabulary" - "a valid $vocabulary value" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s 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" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1037 - vocabulary.json: "use schema (invalid $vocabulary) as a metaschema" - "invalid $vocabulary value: wrong specification version" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core", 295s # "error": "\"https://json-schema.org/draft/2019-09/vocab/core\" uses draft2019-09, but the metaschema itself uses draft2020-12", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 295s # "error": "the first vocabulary (by evaluation_order) must be Core", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema/$vocabulary" 295s # }, 295s # { 295s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core", 295s # "error": "\"https://json-schema.org/draft/2019-09/vocab/core\" uses draft2019-09, but the metaschema itself uses draft2020-12", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core" 295s # }, 295s # { 295s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 295s # "error": "the first vocabulary (by evaluation_order) must be Core", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema/$vocabulary" 295s # }, 295s # { 295s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1038 - vocabulary.json: "invalid $vocabulary (unknown URI), but not until we evaluate with this metaschema" - "invalid $vocabulary (unknown URI): register this metaschema" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1039 - vocabulary.json: "use schema (unknown URI) as a metaschema" - "invalid $vocabulary value: unknown URI" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 295s # "error": "\"https://foo.com\" is not a known vocabulary", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 295s # }, 295s # { 295s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 295s # "error": "\"https://foo.com\" is not a known vocabulary", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 295s # }, 295s # { 295s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 295s # "instanceLocation": "", 295s # "keywordLocation": "/$schema" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1040 - vocabulary.json: "custom metaschema with format-assertion: false" - "custom metaschema is loaded" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1041 - vocabulary.json: "custom metaschema with format-assertion: true" - "custom metaschema is loaded" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1042 - vocabulary.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: valid string" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1043 - vocabulary.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: invalid string" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1044 - vocabulary.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: valid string" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1045 - vocabulary.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: invalid string" { 295s # result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 295s # "error": "not a valid ipv4", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 1046 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, UTC" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1047 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, with minus offset" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1048 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, UTC" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid date-time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid date-time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1049 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, with minus offset" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid date-time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid date-time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 1050 - optional/format-date.json: "non-ascii digits should be rejected" - "BENGALI DIGIT TWO is not valid in dates" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid date", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid date", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s ok 1051 - optional/format-time.json: "validation of time strings" - "valid leap second, Zulu" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1052 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1053 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1054 - optional/format-time.json: "validation of time strings" - "valid leap second, positive time-offset" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1055 - optional/format-time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1056 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1057 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1058 - optional/format-time.json: "validation of time strings" - "valid leap second, negative time-offset" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1059 - optional/format-time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 295s # result: { 295s # "valid": true 295s # } 295s # short-circuited result: { 295s # "valid": true 295s # } 295s ok 1 - test passes: data is valid: true 295s 1..1 295s } 295s ok 1060 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1061 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1062 - optional/format-time.json: "validation of time strings" - "no time offset" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s ok 1063 - optional/format-time.json: "validation of time strings" - "non-ascii digits should be rejected" { 295s # result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s # short-circuited result: { 295s # "errors": [ 295s # { 295s # "error": "not a valid time", 295s # "instanceLocation": "", 295s # "keywordLocation": "/format" 295s # } 295s # ], 295s # "valid": false 295s # } 295s ok 1 - test passes: data is valid: false 295s 1..1 295s } 295s # 295s # 295s # generated with: Test::JSON::Schema::Acceptance 1.026 295s # specification version: draft2020-12 295s # using custom test directory: t/additional-tests-draft2020-12 295s # optional tests included: yes 295s # 295s # filename pass todo-fail fail 295s # --------------------------------------------------------------- 295s # anchor.json 2 0 0 295s # annotation-collection.json 10 0 0 295s # badRef.json 3 0 0 295s # dynamicRef.json 7 0 0 295s # faux-buggy-schemas.json 2 0 0 295s # format-duration.json 9 0 0 295s # format-ipv4.json 4 0 0 295s # format-ipv6.json 17 0 0 295s # format-relative-json-pointer.json 7 0 0 295s # formats.json 4 0 0 295s # id.json 6 0 0 295s # integers.json 29 0 0 295s # keyword-independence.json 884 0 0 295s # loose-types-const-enum.json 8 0 0 295s # recursive-dynamic.json 2 0 0 295s # ref-and-id.json 6 0 0 295s # ref.json 10 0 0 295s # short-circuit.json 20 0 0 295s # unknownKeyword.json 4 0 0 295s # vocabulary.json 11 0 0 295s # optional/format-date-time.json 4 0 0 295s # optional/format-date.json 1 0 0 295s # optional/format-time.json 13 0 0 295s # --------------------------------------------------------------- 295s # TOTAL 1063 0 0 295s # 295s # Congratulations, all non-optional tests are passing! 295s # 295s ok 1064 - no leaks in the main evaluator object 295s ok 1065 - no leaks in the short-circuiting evaluator object 295s ok 1066 - got unsupported keyword warnings 295s 1..1066 295s ok 299s t/additional-tests-draft7.t ............. 299s # AUTHOR_TESTING: 299s # AUTOMATED_TESTING: 1 299s # EXTENDED_TESTING: 299s # NO_TODO: 299s # TEST_DIR: 299s # NO_SHORT_CIRCUIT: 299s # 299s # running tests in /tmp/autopkgtest.vuKWDd/autopkgtest_tmp/smokehavTUc/t/additional-tests-draft7 against draft7... 299s # 299s ok 1 - badRef.json: "good references in schemas" - "this data is never used" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 2 - badRef.json: "bad $ref in schema: not a valid anchor fragment" - "this data is never used" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "$ref value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/then/$ref" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "$ref value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/then/$ref" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 3 - badRef.json: "bad $ref in schema: not a valid json pointer fragment" - "this data is never used" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "$ref value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/then/$ref" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "$ref value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/then/$ref" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 4 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match the type checks" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 5 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match none of the options" { 299s # result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 299s # "error": "got string, not integer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf/0/type" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 299s # "error": "got string, not integer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf/1/type" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf/2/const" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf/3/enum" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 299s # "error": "no subschemas are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 299s # "error": "got string, not integer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf/0/type" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 299s # "error": "got string, not integer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf/1/type" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf/2/const" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf/3/enum" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 299s # "error": "no subschemas are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/anyOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 6 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, as they are treated as octal values" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid ipv4", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid ipv4", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 7 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, even if not a valid octal value" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid ipv4", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid ipv4", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 8 - format-ipv4.json: "validation of ipv4 strings" - "value without leading zero is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 9 - format-ipv4.json: "validation of ipv4 strings" - "non-ascii digits should be rejected" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid ipv4", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid ipv4", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 10 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with empty json-pointer" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 11 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with one-char json-pointer" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 12 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with longer json-pointer" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 13 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer \#" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 14 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "\#\# is not a valid json-pointer" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid relative-json-pointer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid relative-json-pointer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 15 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus json-pointer" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid relative-json-pointer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid relative-json-pointer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 16 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus octothorpe" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid relative-json-pointer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid relative-json-pointer", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 17 - id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 18 - id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 299s # result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else/$ref/const" 299s # }, 299s # { 299s # "error": "subschema is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else/$ref/const" 299s # }, 299s # { 299s # "error": "subschema is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 19 - id.json: "non-schema object containing an anchor property" - "skip traversing definition for a valid result" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 20 - id.json: "non-schema object containing an anchor property" - "const at const_not_anchor does not match" { 299s # result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else/$ref/const" 299s # }, 299s # { 299s # "error": "subschema is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else/$ref/const" 299s # }, 299s # { 299s # "error": "subschema is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 21 - id.json: "'' not permitted as $id" - "schema would pass without $id" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "$id cannot be empty", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "$id cannot be empty", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 22 - id.json: "'' not permitted as $id" - "schema would fail even without $id" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "$id cannot be empty", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "$id cannot be empty", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 23 - id.json: "'\#' not permitted as $id" - "schema would pass without $id" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "$id cannot be empty", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "$id cannot be empty", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 24 - id.json: "'\#' not permitted as $id" - "schema would fail even without $id" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "$id cannot be empty", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "$id cannot be empty", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 25 - id.json: "bad anchor syntax" - "draft7 $id passes through to $anchor" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "$id value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "$id value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/$id" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 26 - integers.json: "type checks" - "beyond int64 lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 27 - integers.json: "type checks" - "int64 lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 28 - integers.json: "type checks" - "beyond int32 lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 29 - integers.json: "type checks" - "int32 lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 30 - integers.json: "type checks" - "zero" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 31 - integers.json: "type checks" - "int32 upper boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 32 - integers.json: "type checks" - "beyond int32 upper boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 33 - integers.json: "type checks" - "upper int64 boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 34 - integers.json: "type checks" - "beyond int64 upper boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 35 - integers.json: "int32 range checks" - "beyond lower boundary" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than -2147483648", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than -2147483648", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 36 - integers.json: "int32 range checks" - "lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 37 - integers.json: "int32 range checks" - "zero" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 38 - integers.json: "int32 range checks" - "upper boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 39 - integers.json: "int32 range checks" - "beyond upper boundary" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2147483647", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2147483647", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 40 - integers.json: "int64 range checks" - "beyond lower boundary" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than -9223372036854775808", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than -9223372036854775808", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 41 - integers.json: "int64 range checks" - "lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 42 - integers.json: "int64 range checks" - "zero" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 43 - integers.json: "int64 range checks" - "upper boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 44 - integers.json: "int64 range checks" - "beyond upper boundary" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 9223372036854775807", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 9223372036854775807", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 45 - integers.json: "equality checks" - "beyond int64 lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 46 - integers.json: "equality checks" - "int64 lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 47 - integers.json: "equality checks" - "beyond int32 lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 48 - integers.json: "equality checks" - "int32 lower boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 49 - integers.json: "equality checks" - "zero" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 50 - integers.json: "equality checks" - "one" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/enum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/enum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 51 - integers.json: "equality checks" - "int32 upper boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 52 - integers.json: "equality checks" - "beyond int32 upper boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 53 - integers.json: "equality checks" - "int64 upper boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 54 - integers.json: "equality checks" - "beyond int64 upper boundary" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s # 299s ok 55 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 56 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 57 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 58 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 59 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 60 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 61 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 62 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 63 - keyword-independence.json: "contains + maximum" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 64 - keyword-independence.json: "contains + maximum" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 65 - keyword-independence.json: "contains + maximum" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 66 - keyword-independence.json: "contains + maximum" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 67 - keyword-independence.json: "contains + minimum" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 68 - keyword-independence.json: "contains + minimum" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 69 - keyword-independence.json: "contains + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 70 - keyword-independence.json: "contains + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 71 - keyword-independence.json: "contains + multipleOf" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 72 - keyword-independence.json: "contains + multipleOf" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 73 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 74 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 75 - keyword-independence.json: "exclusiveMaximum + items" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 76 - keyword-independence.json: "exclusiveMaximum + items" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 77 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 78 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 79 - keyword-independence.json: "exclusiveMinimum + items" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 80 - keyword-independence.json: "exclusiveMinimum + items" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 81 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 82 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 83 - keyword-independence.json: "items + maximum" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 84 - keyword-independence.json: "items + maximum" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 85 - keyword-independence.json: "items + maximum" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 86 - keyword-independence.json: "items + maximum" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 87 - keyword-independence.json: "items + minimum" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 88 - keyword-independence.json: "items + minimum" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 89 - keyword-independence.json: "items + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 90 - keyword-independence.json: "items + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 91 - keyword-independence.json: "items + multipleOf" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 92 - keyword-independence.json: "items + multipleOf" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 93 - keyword-independence.json: "items + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 94 - keyword-independence.json: "items + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 95 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 96 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 97 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 98 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 99 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 100 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 101 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 102 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 103 - keyword-independence.json: "maxItems + maximum" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 104 - keyword-independence.json: "maxItems + maximum" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 105 - keyword-independence.json: "maxItems + maximum" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 106 - keyword-independence.json: "maxItems + maximum" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 107 - keyword-independence.json: "maxItems + minimum" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 108 - keyword-independence.json: "maxItems + minimum" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 109 - keyword-independence.json: "maxItems + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 110 - keyword-independence.json: "maxItems + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 111 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 112 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 113 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 114 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 115 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 116 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 117 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 118 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 119 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 120 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 121 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 122 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 123 - keyword-independence.json: "maximum + minItems" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 124 - keyword-independence.json: "maximum + minItems" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 125 - keyword-independence.json: "maximum + minItems" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 126 - keyword-independence.json: "maximum + minItems" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 127 - keyword-independence.json: "minItems + minimum" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 128 - keyword-independence.json: "minItems + minimum" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 129 - keyword-independence.json: "minItems + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 130 - keyword-independence.json: "minItems + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 131 - keyword-independence.json: "minItems + multipleOf" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 132 - keyword-independence.json: "minItems + multipleOf" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 133 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 134 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 135 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 136 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 137 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 138 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 139 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 140 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 141 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 142 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 143 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 144 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 145 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 146 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 147 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 148 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 149 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 150 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 151 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 152 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 153 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 154 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 155 - keyword-independence.json: "additionalProperties + contains" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 156 - keyword-independence.json: "additionalProperties + contains" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 157 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 158 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 159 - keyword-independence.json: "contains + dependencies" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 160 - keyword-independence.json: "contains + dependencies" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 161 - keyword-independence.json: "contains + dependencies" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 162 - keyword-independence.json: "contains + dependencies" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 163 - keyword-independence.json: "contains + maxProperties" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 164 - keyword-independence.json: "contains + maxProperties" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 165 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 166 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 167 - keyword-independence.json: "contains + minProperties" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 168 - keyword-independence.json: "contains + minProperties" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 169 - keyword-independence.json: "contains + minProperties" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 170 - keyword-independence.json: "contains + minProperties" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 171 - keyword-independence.json: "contains + patternProperties" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 172 - keyword-independence.json: "contains + patternProperties" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 173 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 174 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 175 - keyword-independence.json: "contains + properties" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 176 - keyword-independence.json: "contains + properties" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 177 - keyword-independence.json: "contains + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 178 - keyword-independence.json: "contains + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 179 - keyword-independence.json: "contains + propertyNames" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 180 - keyword-independence.json: "contains + propertyNames" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 181 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 182 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 183 - keyword-independence.json: "contains + required" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 184 - keyword-independence.json: "contains + required" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 185 - keyword-independence.json: "contains + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 186 - keyword-independence.json: "contains + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 187 - keyword-independence.json: "additionalProperties + items" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 188 - keyword-independence.json: "additionalProperties + items" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 189 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 190 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 191 - keyword-independence.json: "dependencies + items" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 192 - keyword-independence.json: "dependencies + items" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 193 - keyword-independence.json: "dependencies + items" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 194 - keyword-independence.json: "dependencies + items" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 195 - keyword-independence.json: "items + maxProperties" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 196 - keyword-independence.json: "items + maxProperties" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 197 - keyword-independence.json: "items + maxProperties" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 198 - keyword-independence.json: "items + maxProperties" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 199 - keyword-independence.json: "items + minProperties" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 200 - keyword-independence.json: "items + minProperties" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 201 - keyword-independence.json: "items + minProperties" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 202 - keyword-independence.json: "items + minProperties" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 203 - keyword-independence.json: "items + patternProperties" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 204 - keyword-independence.json: "items + patternProperties" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 205 - keyword-independence.json: "items + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 206 - keyword-independence.json: "items + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 207 - keyword-independence.json: "items + properties" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 208 - keyword-independence.json: "items + properties" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 209 - keyword-independence.json: "items + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 210 - keyword-independence.json: "items + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 211 - keyword-independence.json: "items + propertyNames" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 212 - keyword-independence.json: "items + propertyNames" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 213 - keyword-independence.json: "items + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 214 - keyword-independence.json: "items + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 215 - keyword-independence.json: "items + required" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 216 - keyword-independence.json: "items + required" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 217 - keyword-independence.json: "items + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 218 - keyword-independence.json: "items + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 219 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 220 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 221 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 222 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 223 - keyword-independence.json: "dependencies + maxItems" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 224 - keyword-independence.json: "dependencies + maxItems" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 225 - keyword-independence.json: "dependencies + maxItems" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 226 - keyword-independence.json: "dependencies + maxItems" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 227 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 228 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 229 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 230 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 231 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 232 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 233 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 234 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 235 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 236 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 237 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 238 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 239 - keyword-independence.json: "maxItems + properties" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 240 - keyword-independence.json: "maxItems + properties" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 241 - keyword-independence.json: "maxItems + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 242 - keyword-independence.json: "maxItems + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 243 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 244 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 245 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 246 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 247 - keyword-independence.json: "maxItems + required" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 248 - keyword-independence.json: "maxItems + required" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 249 - keyword-independence.json: "maxItems + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 250 - keyword-independence.json: "maxItems + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 251 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 252 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 253 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 254 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 255 - keyword-independence.json: "dependencies + minItems" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 256 - keyword-independence.json: "dependencies + minItems" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 257 - keyword-independence.json: "dependencies + minItems" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 258 - keyword-independence.json: "dependencies + minItems" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 259 - keyword-independence.json: "maxProperties + minItems" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 260 - keyword-independence.json: "maxProperties + minItems" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 261 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 262 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 263 - keyword-independence.json: "minItems + minProperties" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 264 - keyword-independence.json: "minItems + minProperties" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 265 - keyword-independence.json: "minItems + minProperties" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 266 - keyword-independence.json: "minItems + minProperties" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 267 - keyword-independence.json: "minItems + patternProperties" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 268 - keyword-independence.json: "minItems + patternProperties" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 269 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 270 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 271 - keyword-independence.json: "minItems + properties" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 272 - keyword-independence.json: "minItems + properties" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 273 - keyword-independence.json: "minItems + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 274 - keyword-independence.json: "minItems + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 275 - keyword-independence.json: "minItems + propertyNames" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 276 - keyword-independence.json: "minItems + propertyNames" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 277 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 278 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 279 - keyword-independence.json: "minItems + required" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 280 - keyword-independence.json: "minItems + required" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 281 - keyword-independence.json: "minItems + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 282 - keyword-independence.json: "minItems + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 283 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 284 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 285 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 286 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 287 - keyword-independence.json: "dependencies + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 288 - keyword-independence.json: "dependencies + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 289 - keyword-independence.json: "dependencies + uniqueItems" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 290 - keyword-independence.json: "dependencies + uniqueItems" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 291 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 292 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 293 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 294 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 295 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 296 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 297 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 298 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 299 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 300 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 301 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 302 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 303 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 304 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 305 - keyword-independence.json: "properties + uniqueItems" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 306 - keyword-independence.json: "properties + uniqueItems" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 307 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 308 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 309 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 310 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 311 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 312 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 313 - keyword-independence.json: "required + uniqueItems" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 314 - keyword-independence.json: "required + uniqueItems" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 315 - keyword-independence.json: "contains + maxLength" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 316 - keyword-independence.json: "contains + maxLength" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 317 - keyword-independence.json: "contains + maxLength" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 318 - keyword-independence.json: "contains + maxLength" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 319 - keyword-independence.json: "contains + minLength" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 320 - keyword-independence.json: "contains + minLength" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 321 - keyword-independence.json: "contains + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 322 - keyword-independence.json: "contains + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 323 - keyword-independence.json: "contains + pattern" - "array, contains invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is not valid against any item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/contains" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 324 - keyword-independence.json: "contains + pattern" - "array, contains valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 325 - keyword-independence.json: "contains + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 326 - keyword-independence.json: "contains + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 327 - keyword-independence.json: "items + maxLength" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 328 - keyword-independence.json: "items + maxLength" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 329 - keyword-independence.json: "items + maxLength" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 330 - keyword-independence.json: "items + maxLength" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 331 - keyword-independence.json: "items + minLength" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 332 - keyword-independence.json: "items + minLength" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 333 - keyword-independence.json: "items + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 334 - keyword-independence.json: "items + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 335 - keyword-independence.json: "items + pattern" - "array, items invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "item not permitted", 299s # "instanceLocation": "/0", 299s # "keywordLocation": "/items/0" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 336 - keyword-independence.json: "items + pattern" - "array, items valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 337 - keyword-independence.json: "items + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 338 - keyword-independence.json: "items + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 339 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 340 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 341 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 342 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 343 - keyword-independence.json: "maxItems + minLength" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 344 - keyword-independence.json: "maxItems + minLength" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 345 - keyword-independence.json: "maxItems + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 346 - keyword-independence.json: "maxItems + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 347 - keyword-independence.json: "maxItems + pattern" - "array, maxItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has more than 1 item", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 348 - keyword-independence.json: "maxItems + pattern" - "array, maxItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 349 - keyword-independence.json: "maxItems + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 350 - keyword-independence.json: "maxItems + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 351 - keyword-independence.json: "maxLength + minItems" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 352 - keyword-independence.json: "maxLength + minItems" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 353 - keyword-independence.json: "maxLength + minItems" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 354 - keyword-independence.json: "maxLength + minItems" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 355 - keyword-independence.json: "minItems + minLength" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 356 - keyword-independence.json: "minItems + minLength" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 357 - keyword-independence.json: "minItems + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 358 - keyword-independence.json: "minItems + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 359 - keyword-independence.json: "minItems + pattern" - "array, minItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "array has fewer than 2 items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 360 - keyword-independence.json: "minItems + pattern" - "array, minItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 361 - keyword-independence.json: "minItems + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 362 - keyword-independence.json: "minItems + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 363 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 364 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 365 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 366 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 367 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 368 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 369 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 370 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 371 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "items at indices 0 and 1 are not unique", 299s # "instanceLocation": "", 299s # "keywordLocation": "/uniqueItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 372 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 373 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 374 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 375 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 376 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 377 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 378 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 379 - keyword-independence.json: "dependencies + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 380 - keyword-independence.json: "dependencies + exclusiveMaximum" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 381 - keyword-independence.json: "dependencies + exclusiveMaximum" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 382 - keyword-independence.json: "dependencies + exclusiveMaximum" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 383 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 384 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 385 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 386 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 387 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 388 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 389 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 390 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 391 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 392 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 393 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 394 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 395 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 396 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 397 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 398 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 399 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 400 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 401 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 402 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 403 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 404 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 405 - keyword-independence.json: "exclusiveMaximum + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 406 - keyword-independence.json: "exclusiveMaximum + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 407 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 408 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 409 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 410 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 411 - keyword-independence.json: "dependencies + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 412 - keyword-independence.json: "dependencies + exclusiveMinimum" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 413 - keyword-independence.json: "dependencies + exclusiveMinimum" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 414 - keyword-independence.json: "dependencies + exclusiveMinimum" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 415 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 416 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 417 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 418 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 419 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 420 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 421 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 422 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 423 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 424 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 425 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 426 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 427 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 428 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 429 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 430 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 431 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 432 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 433 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 434 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 435 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 436 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 437 - keyword-independence.json: "exclusiveMinimum + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 438 - keyword-independence.json: "exclusiveMinimum + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 439 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 440 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 441 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 442 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 443 - keyword-independence.json: "dependencies + maximum" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 444 - keyword-independence.json: "dependencies + maximum" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 445 - keyword-independence.json: "dependencies + maximum" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 446 - keyword-independence.json: "dependencies + maximum" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 447 - keyword-independence.json: "maxProperties + maximum" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 448 - keyword-independence.json: "maxProperties + maximum" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 449 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 450 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 451 - keyword-independence.json: "maximum + minProperties" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 452 - keyword-independence.json: "maximum + minProperties" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 453 - keyword-independence.json: "maximum + minProperties" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 454 - keyword-independence.json: "maximum + minProperties" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 455 - keyword-independence.json: "maximum + patternProperties" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 456 - keyword-independence.json: "maximum + patternProperties" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 457 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 458 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 459 - keyword-independence.json: "maximum + properties" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 460 - keyword-independence.json: "maximum + properties" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 461 - keyword-independence.json: "maximum + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 462 - keyword-independence.json: "maximum + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 463 - keyword-independence.json: "maximum + propertyNames" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 464 - keyword-independence.json: "maximum + propertyNames" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 465 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 466 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 467 - keyword-independence.json: "maximum + required" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 468 - keyword-independence.json: "maximum + required" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 469 - keyword-independence.json: "maximum + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 470 - keyword-independence.json: "maximum + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 471 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 472 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 473 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 474 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 475 - keyword-independence.json: "dependencies + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 476 - keyword-independence.json: "dependencies + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 477 - keyword-independence.json: "dependencies + minimum" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 478 - keyword-independence.json: "dependencies + minimum" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 479 - keyword-independence.json: "maxProperties + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 480 - keyword-independence.json: "maxProperties + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 481 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 482 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 483 - keyword-independence.json: "minProperties + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 484 - keyword-independence.json: "minProperties + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 485 - keyword-independence.json: "minProperties + minimum" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 486 - keyword-independence.json: "minProperties + minimum" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 487 - keyword-independence.json: "minimum + patternProperties" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 488 - keyword-independence.json: "minimum + patternProperties" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 489 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 490 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 491 - keyword-independence.json: "minimum + properties" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 492 - keyword-independence.json: "minimum + properties" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 493 - keyword-independence.json: "minimum + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 494 - keyword-independence.json: "minimum + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 495 - keyword-independence.json: "minimum + propertyNames" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 496 - keyword-independence.json: "minimum + propertyNames" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 497 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 498 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 499 - keyword-independence.json: "minimum + required" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 500 - keyword-independence.json: "minimum + required" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 501 - keyword-independence.json: "minimum + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 502 - keyword-independence.json: "minimum + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 503 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 504 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 505 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 506 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 507 - keyword-independence.json: "dependencies + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 508 - keyword-independence.json: "dependencies + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 509 - keyword-independence.json: "dependencies + multipleOf" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 510 - keyword-independence.json: "dependencies + multipleOf" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 511 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 512 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 513 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 514 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 515 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 516 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 517 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 518 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 519 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 520 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 521 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 522 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 523 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 524 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 525 - keyword-independence.json: "multipleOf + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 526 - keyword-independence.json: "multipleOf + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 527 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 528 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 529 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 530 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 531 - keyword-independence.json: "multipleOf + required" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 532 - keyword-independence.json: "multipleOf + required" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 533 - keyword-independence.json: "multipleOf + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 534 - keyword-independence.json: "multipleOf + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 535 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 536 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 537 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 538 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 539 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 540 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 541 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 542 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 543 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMaximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 544 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 545 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 546 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 547 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 548 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 549 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 550 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 551 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 552 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 553 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 554 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 555 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than or equal to 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/exclusiveMinimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 556 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 557 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 558 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 559 - keyword-independence.json: "maxLength + maximum" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 560 - keyword-independence.json: "maxLength + maximum" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 561 - keyword-independence.json: "maxLength + maximum" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 562 - keyword-independence.json: "maxLength + maximum" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 563 - keyword-independence.json: "maximum + minLength" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 564 - keyword-independence.json: "maximum + minLength" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 565 - keyword-independence.json: "maximum + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 566 - keyword-independence.json: "maximum + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 567 - keyword-independence.json: "maximum + pattern" - "number, maximum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maximum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 568 - keyword-independence.json: "maximum + pattern" - "number, maximum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 569 - keyword-independence.json: "maximum + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 570 - keyword-independence.json: "maximum + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 571 - keyword-independence.json: "maxLength + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 572 - keyword-independence.json: "maxLength + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 573 - keyword-independence.json: "maxLength + minimum" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 574 - keyword-independence.json: "maxLength + minimum" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 575 - keyword-independence.json: "minLength + minimum" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 576 - keyword-independence.json: "minLength + minimum" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 577 - keyword-independence.json: "minLength + minimum" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 578 - keyword-independence.json: "minLength + minimum" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 579 - keyword-independence.json: "minimum + pattern" - "number, minimum invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minimum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 580 - keyword-independence.json: "minimum + pattern" - "number, minimum valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 581 - keyword-independence.json: "minimum + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 582 - keyword-independence.json: "minimum + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 583 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 584 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 585 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 586 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 587 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 588 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 589 - keyword-independence.json: "minLength + multipleOf" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 590 - keyword-independence.json: "minLength + multipleOf" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 591 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/multipleOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 592 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 593 - keyword-independence.json: "multipleOf + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 594 - keyword-independence.json: "multipleOf + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 595 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 596 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 597 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 598 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 599 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 600 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 601 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 602 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 603 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 604 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 605 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 606 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 607 - keyword-independence.json: "dependencies + maxLength" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 608 - keyword-independence.json: "dependencies + maxLength" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 609 - keyword-independence.json: "dependencies + maxLength" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 610 - keyword-independence.json: "dependencies + maxLength" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 611 - keyword-independence.json: "dependencies + minLength" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 612 - keyword-independence.json: "dependencies + minLength" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 613 - keyword-independence.json: "dependencies + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 614 - keyword-independence.json: "dependencies + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 615 - keyword-independence.json: "dependencies + pattern" - "object, dependencies invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies/x" 299s # }, 299s # { 299s # "error": "not all dependencies are satisfied", 299s # "instanceLocation": "", 299s # "keywordLocation": "/dependencies" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 616 - keyword-independence.json: "dependencies + pattern" - "object, dependencies valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 617 - keyword-independence.json: "dependencies + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 618 - keyword-independence.json: "dependencies + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 619 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 620 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 621 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 622 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 623 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 624 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 625 - keyword-independence.json: "maxProperties + minLength" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 626 - keyword-independence.json: "maxProperties + minLength" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 627 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has more than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 628 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 629 - keyword-independence.json: "maxProperties + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 630 - keyword-independence.json: "maxProperties + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 631 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 632 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 633 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 634 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 635 - keyword-independence.json: "minLength + minProperties" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 636 - keyword-independence.json: "minLength + minProperties" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 637 - keyword-independence.json: "minLength + minProperties" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 638 - keyword-independence.json: "minLength + minProperties" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 639 - keyword-independence.json: "minProperties + pattern" - "object, minProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object has fewer than 1 property", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 640 - keyword-independence.json: "minProperties + pattern" - "object, minProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 641 - keyword-independence.json: "minProperties + pattern" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 642 - keyword-independence.json: "minProperties + pattern" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 643 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 644 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 645 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 646 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 647 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 648 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 649 - keyword-independence.json: "minLength + patternProperties" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 650 - keyword-independence.json: "minLength + patternProperties" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 651 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/no", 299s # "keywordLocation": "/patternProperties/no" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 652 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 653 - keyword-independence.json: "pattern + patternProperties" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 654 - keyword-independence.json: "pattern + patternProperties" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 655 - keyword-independence.json: "maxLength + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 656 - keyword-independence.json: "maxLength + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 657 - keyword-independence.json: "maxLength + properties" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 658 - keyword-independence.json: "maxLength + properties" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 659 - keyword-independence.json: "minLength + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 660 - keyword-independence.json: "minLength + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 661 - keyword-independence.json: "minLength + properties" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 662 - keyword-independence.json: "minLength + properties" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 663 - keyword-independence.json: "pattern + properties" - "object, properties invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/properties/x" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 664 - keyword-independence.json: "pattern + properties" - "object, properties valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 665 - keyword-independence.json: "pattern + properties" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 666 - keyword-independence.json: "pattern + properties" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 667 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 668 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 669 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 670 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 671 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 672 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 673 - keyword-independence.json: "minLength + propertyNames" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 674 - keyword-independence.json: "minLength + propertyNames" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 675 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "subschema is false", 299s # "instanceLocation": "/x", 299s # "keywordLocation": "/propertyNames" 299s # }, 299s # { 299s # "error": "not all property names are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/propertyNames" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 676 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 677 - keyword-independence.json: "pattern + propertyNames" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 678 - keyword-independence.json: "pattern + propertyNames" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 679 - keyword-independence.json: "maxLength + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 680 - keyword-independence.json: "maxLength + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 681 - keyword-independence.json: "maxLength + required" - "string, maxLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is greater than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/maxLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 682 - keyword-independence.json: "maxLength + required" - "string, maxLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 683 - keyword-independence.json: "minLength + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 684 - keyword-independence.json: "minLength + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 685 - keyword-independence.json: "minLength + required" - "string, minLength invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "length is less than 2", 299s # "instanceLocation": "", 299s # "keywordLocation": "/minLength" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 686 - keyword-independence.json: "minLength + required" - "string, minLength valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 687 - keyword-independence.json: "pattern + required" - "object, required invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "object is missing property: x", 299s # "instanceLocation": "", 299s # "keywordLocation": "/required" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 688 - keyword-independence.json: "pattern + required" - "object, required valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 689 - keyword-independence.json: "pattern + required" - "string, pattern invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "pattern does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/pattern" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 690 - keyword-independence.json: "pattern + required" - "string, pattern valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s # 299s ok 691 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does not match string" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "/const_string", 299s # "keywordLocation": "/properties/const_string/const" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "/const_string", 299s # "keywordLocation": "/properties/const_string/const" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 692 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does match number" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 693 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value matches string" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 694 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value does not match number" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "/const_number", 299s # "keywordLocation": "/properties/const_number/const" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "/const_number", 299s # "keywordLocation": "/properties/const_number/const" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 695 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does not match string" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "/enum_string", 299s # "keywordLocation": "/properties/enum_string/enum" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "/enum_string", 299s # "keywordLocation": "/properties/enum_string/enum" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 696 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does match number" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 697 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value matches string" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 698 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value does not match number" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "/enum_number", 299s # "keywordLocation": "/properties/enum_number/enum" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "/enum_number", 299s # "keywordLocation": "/properties/enum_number/enum" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 699 - not-an-anchor.json: "object that is not a schema containing an $anchor property" - "skip traversing definition for a valid result" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 700 - not-an-anchor.json: "object that is not a schema containing an $anchor property" - "const at const_not_anchor does not match" { 299s # result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else/$ref/const" 299s # }, 299s # { 299s # "error": "subschema is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else/$ref/const" 299s # }, 299s # { 299s # "error": "subschema is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 701 - not-an-id.json: "object that is not a schema containing an $id property" - "skip traversing definition for a valid result" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 702 - not-an-id.json: "object that is not a schema containing an $id property" - "const at const_not_id does not match" { 299s # result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else/$ref/const" 299s # }, 299s # { 299s # "error": "subschema is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else/$ref/const" 299s # }, 299s # { 299s # "error": "subschema is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/else" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 703 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination" - "data is valid against first definition" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 704 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination" - "data is invalid against first definition" { 299s # result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 299s # "error": "value is greater than 10", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf/0/$ref/maximum" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "/ref-and-id2/base.json#/allOf", 299s # "error": "subschema 0 is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 299s # "error": "value is greater than 10", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf/0/$ref/maximum" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "/ref-and-id2/base.json#/allOf", 299s # "error": "subschema 0 is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 705 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 706 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 299s # result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 299s # "error": "value is greater than 10", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf/0/$ref/maximum" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "/ref1/base.json#/allOf", 299s # "error": "subschema 0 is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 299s # "error": "value is greater than 10", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf/0/$ref/maximum" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "/ref1/base.json#/allOf", 299s # "error": "subschema 0 is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 707 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 708 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 299s # result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "/ref2/base.json#/definitions/bigint/maximum", 299s # "error": "value is greater than 10", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf/0/$ref/maximum" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "/ref2/base.json#/allOf", 299s # "error": "subschema 0 is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "/ref2/base.json#/definitions/bigint/maximum", 299s # "error": "value is greater than 10", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf/0/$ref/maximum" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "/ref2/base.json#/allOf", 299s # "error": "subschema 0 is not valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/allOf" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 709 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/enum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value does not match", 299s # "instanceLocation": "", 299s # "keywordLocation": "/enum" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 710 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 711 - ref.json: "invalid $ref: invalid anchor fragment" - "an invalid anchor fragment" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "$ref value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/definitions/foo/$ref" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "$ref value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/definitions/foo/$ref" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 712 - ref.json: "invalid $ref: invalid json-pointer fragment" - "an invalid json-pointer fragment" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "$ref value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/definitions/foo/$ref" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "$ref value is not a valid URI reference", 299s # "instanceLocation": "", 299s # "keywordLocation": "/definitions/foo/$ref" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 713 - ref.json: "base URI change - change folder in subschema with path from root" - "number is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 714 - ref.json: "base URI change - change folder in subschema with path from root" - "string is invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 299s # "error": "got string, not integer", 299s # "instanceLocation": "/list/0", 299s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 299s # "error": "subschema is not valid against all items", 299s # "instanceLocation": "/list", 299s # "keywordLocation": "/properties/list/$ref/items" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 299s # "error": "got string, not integer", 299s # "instanceLocation": "/list/0", 299s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 299s # "error": "subschema is not valid against all items", 299s # "instanceLocation": "/list", 299s # "keywordLocation": "/properties/list/$ref/items" 299s # }, 299s # { 299s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 715 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "single item is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 716 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "second item is invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/1", 299s # "keywordLocation": "/items/multipleOf" 299s # }, 299s # { 299s # "error": "subschema is not valid against all items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/1", 299s # "keywordLocation": "/items/multipleOf" 299s # }, 299s # { 299s # "error": "subschema is not valid against all items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 717 - short-circuit.json: "items (array form) does not improperly short-circuit" - "single item is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 718 - short-circuit.json: "items (array form) does not improperly short-circuit" - "second item is invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/1", 299s # "keywordLocation": "/items/1/multipleOf" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/1", 299s # "keywordLocation": "/items/1/multipleOf" 299s # }, 299s # { 299s # "error": "not all items are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/items" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 719 - short-circuit.json: "additionalItems does not improperly short-circuit" - "single additional item is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 720 - short-circuit.json: "additionalItems does not improperly short-circuit" - "second additional item is invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/2", 299s # "keywordLocation": "/additionalItems/multipleOf" 299s # }, 299s # { 299s # "error": "subschema is not valid against all additional items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/2", 299s # "keywordLocation": "/additionalItems/multipleOf" 299s # }, 299s # { 299s # "error": "subschema is not valid against all additional items", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalItems" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 721 - short-circuit.json: "properties does not improperly short-circuit" - "single property is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 722 - short-circuit.json: "properties does not improperly short-circuit" - "second property is invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/properties/beta/multipleOf" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/properties/beta/multipleOf" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 723 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 724 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/properties/beta" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/properties/beta" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/properties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 725 - short-circuit.json: "patternProperties does not improperly short-circuit" - "single property is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 726 - short-circuit.json: "patternProperties does not improperly short-circuit" - "second property is invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/patternProperties/^b/multipleOf" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/patternProperties/^b/multipleOf" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 727 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 728 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/patternProperties/^b" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "property not permitted", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/patternProperties/^b" 299s # }, 299s # { 299s # "error": "not all properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/patternProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 729 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "single property is valid" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 730 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "second property is invalid" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/additionalProperties/multipleOf" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "value is not a multiple of 2", 299s # "instanceLocation": "/beta", 299s # "keywordLocation": "/additionalProperties/multipleOf" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 731 - unknownKeyword.json: "past and future keywords are ignored" - "passing" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 732 - unknownKeyword.json: "past and future keywords are ignored" - "failing (string)" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "got string, not number", 299s # "instanceLocation": "", 299s # "keywordLocation": "/type" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "got string, not number", 299s # "instanceLocation": "", 299s # "keywordLocation": "/type" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 733 - unknownKeyword.json: "past and future keywords are ignored" - "failing (object)" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "got object, not number", 299s # "instanceLocation": "", 299s # "keywordLocation": "/type" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "got object, not number", 299s # "instanceLocation": "", 299s # "keywordLocation": "/type" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 734 - unknownKeyword.json: "past and future keywords are ignored" - "failing (array)" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "got array, not number", 299s # "instanceLocation": "", 299s # "keywordLocation": "/type" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "got array, not number", 299s # "instanceLocation": "", 299s # "keywordLocation": "/type" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 735 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "match" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 736 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive match" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 737 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "mismatch" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/bar", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "additional property not permitted", 299s # "instanceLocation": "/bar", 299s # "keywordLocation": "/additionalProperties" 299s # }, 299s # { 299s # "error": "not all additional properties are valid", 299s # "instanceLocation": "", 299s # "keywordLocation": "/additionalProperties" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 738 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive mismatch (but $dynamicRef is ignored)" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s # 299s ok 739 - vocabulary.json: "valid $vocabulary: everything is valid" - "a valid $vocabulary value" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 740 - vocabulary.json: "wrong specification version: but this is draft7" - "invalid $vocabulary value: wrong specification version" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 741 - vocabulary.json: "but this is draft7" - "invalid $vocabulary value: unknown URI" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s # 299s ok 742 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, UTC" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 743 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, with minus offset" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 744 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, UTC" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid date-time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid date-time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 745 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, with minus offset" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid date-time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid date-time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 746 - optional/format-date.json: "non-ascii digits should be rejected" - "BENGALI DIGIT TWO is not valid in dates" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid date", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid date", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s ok 747 - optional/format-time.json: "validation of time strings" - "valid leap second, Zulu" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 748 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 749 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 750 - optional/format-time.json: "validation of time strings" - "valid leap second, positive time-offset" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 751 - optional/format-time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 752 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 753 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 754 - optional/format-time.json: "validation of time strings" - "valid leap second, negative time-offset" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 755 - optional/format-time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 299s # result: { 299s # "valid": true 299s # } 299s # short-circuited result: { 299s # "valid": true 299s # } 299s ok 1 - test passes: data is valid: true 299s 1..1 299s } 299s ok 756 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 757 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 758 - optional/format-time.json: "validation of time strings" - "no time offset" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s ok 759 - optional/format-time.json: "validation of time strings" - "non-ascii digits should be rejected" { 299s # result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s # short-circuited result: { 299s # "errors": [ 299s # { 299s # "error": "not a valid time", 299s # "instanceLocation": "", 299s # "keywordLocation": "/format" 299s # } 299s # ], 299s # "valid": false 299s # } 299s ok 1 - test passes: data is valid: false 299s 1..1 299s } 299s # 299s # 299s # generated with: Test::JSON::Schema::Acceptance 1.026 299s # specification version: draft7 299s # using custom test directory: t/additional-tests-draft7 299s # optional tests included: yes 299s # 299s # filename pass todo-fail fail 299s # --------------------------------------------------------------- 299s # badRef.json 3 0 0 299s # faux-buggy-schemas.json 2 0 0 299s # format-ipv4.json 4 0 0 299s # format-relative-json-pointer.json 7 0 0 299s # id.json 9 0 0 299s # integers.json 29 0 0 299s # keyword-independence.json 636 0 0 299s # loose-types-const-enum.json 8 0 0 299s # not-an-anchor.json 2 0 0 299s # not-an-id.json 2 0 0 299s # ref-and-id.json 2 0 0 299s # ref.json 10 0 0 299s # short-circuit.json 16 0 0 299s # unknownKeyword.json 8 0 0 299s # vocabulary.json 3 0 0 299s # optional/format-date-time.json 4 0 0 299s # optional/format-date.json 1 0 0 299s # optional/format-time.json 13 0 0 299s # --------------------------------------------------------------- 299s # TOTAL 759 0 0 299s # 299s # Congratulations, all non-optional tests are passing! 299s # 299s ok 760 - no leaks in the main evaluator object 299s ok 761 - no leaks in the short-circuiting evaluator object 299s ok 762 - got unsupported keyword warnings 299s 1..762 299s ok 300s t/annotations.t ......................... 300s # Subtest: draft7 300s ok 1 - user cannot enable annotations for draft7 300s ok 2 - user cannot enable annotations for draft7 even as an override 300s 1..2 300s ok 1 - draft7 300s # Subtest: allOf 300s ok 1 - evaluation of the allOf keyword fails 300s ok 2 - failing allOf: state is correct after evaluating 300s ok 3 - evaluation of the allOf keyword succeeds 300s ok 4 - passing allOf: state is correct after evaluating 300s ok 5 - annotation collection can be turned off in evaluate() 300s ok 6 - ...but the value is still true on the object 300s ok 7 - collect_annotations defaults to false 300s ok 8 - annotation collection can be turned on in evaluate() also 300s 1..8 300s ok 2 - allOf 300s # Subtest: oneOf 300s ok 1 - evaluation of the oneOf keyword fails 300s ok 2 - failing oneOf: state is correct after evaluating 300s ok 3 - evaluation of the oneOf keyword succeeds 300s ok 4 - passing oneOf: state is correct after evaluating 300s 1..4 300s ok 3 - oneOf 300s # Subtest: not 300s ok 1 - evaluation of the not keyword fails 300s ok 2 - failing not: state is correct after evaluating 300s ok 3 - evaluation of the not keyword fails 300s ok 4 - failing not: state is correct after evaluating (annotations will be ultimately discarded) 300s ok 5 - evaluation of the not keyword succeeds 300s ok 6 - passing not: state is correct after evaluating 300s ok 7 - annotations are still collected inside a "not", otherwise the unevaluatedProperties would have returned false 300s 1..7 300s ok 4 - not 300s # Subtest: prefixItems 300s ok 1 - no items means that "prefixItems" succeeds 300s ok 2 - no items: no annotation is produced by prefixItems 300s ok 3 - one item 300s ok 4 - passing prefixItems: one item is annotated 300s ok 5 - two items, one failing 300s ok 6 - failing prefixItems still collects annotations 300s 1..6 300s ok 5 - prefixItems 300s # Subtest: schema-items 300s ok 1 - no items means that "items" succeeds 300s ok 2 - no items: no annotation is produced by items 300s ok 3 - one item 300s ok 4 - passing items: one item is annotated 300s ok 5 - two items, one failing 300s ok 6 - failing items still collects annotations 300s 1..6 300s ok 6 - schema-items 300s # Subtest: additionalItems 300s ok 1 - no items means that "additionalItems" succeeds 300s ok 2 - no items: no annotation is produced by additionaltems 300s ok 3 - one item 300s ok 4 - additionalItems does nothing without items 300s 1..4 300s ok 7 - additionalItems 300s # Subtest: properties 300s ok 1 - no items means that "properties" succeeds 300s ok 2 - no properties: annotation is still produced by properties 300s ok 3 - one property 300s ok 4 - passing properties: one property is annotated 300s ok 5 - two properties, one failing 300s ok 6 - failing properties still collects annotations 300s 1..6 300s ok 8 - properties 300s # Subtest: patternProperties 300s ok 1 - no items means that "patternProperties" succeeds 300s ok 2 - no pProperties: annotation is still produced by patternProperties 300s ok 3 - one property 300s ok 4 - passing properties: one property is annotated 300s ok 5 - two properties, one failing 300s ok 6 - failing patternProperties still collects annotations 300s 1..6 300s ok 9 - patternProperties 300s # Subtest: additionalProperties 300s ok 1 - no items means that "additionalProperties" succeeds 300s ok 2 - no properties: no annotation is produced by additionalProperties 300s ok 3 - one property 300s ok 4 - passing additionalProperties: one property is annotated 300s ok 5 - two properties, one failing 300s ok 6 - failing properties still collects annotations 300s 1..6 300s ok 10 - additionalProperties 300s # Subtest: unevaluatedProperties 300s ok 1 - no items means that "unevaluatedProperties" succeeds 300s ok 2 - no properties: no annotation is produced by unevaluatedProperties 300s ok 3 - one property 300s ok 4 - passing unevaluatedProperties: one property is annotated 300s ok 5 - two properties, one failing 300s ok 6 - failing unevaluatedProperties still collects annotations 300s 1..6 300s ok 11 - unevaluatedProperties 300s # Subtest: collect_annotations and unevaluated keywords 300s ok 1 - when "collect_annotations" is explicitly set to false, unevaluatedItems can still be used (valid result, no annotations in result) 300s ok 2 - when "collect_annotations" is explicitly set to false, unevaluatedItems can still be used (invalid result) 300s ok 3 - when "collect_annotations" is explicitly set to false, unevaluatedProperties can still be used (valid result, no annotations) 300s ok 4 - when "collect_annotations" is explicitly set to false, unevaluatedProperties can still be used (invalid result) 300s ok 5 - when "collect_annotations" is explicitly set to false, unevaluatedProperties still be used, even in other documents (valid result) 300s ok 6 - when "collect_annotations" is explicitly set to false, unevaluatedProperties still be used, even in other documents (invalid result) 300s ok 7 - when "collect_annotations" is set to true, unevaluatedItems works, and annotations are returned 300s ok 8 - when "collect_annotations" is set to true, unevaluatedProperties passes, and annotations are returned 300s ok 9 - when "collect_annotations" is not set, unevaluatedItems still works, but annotations are not returned 300s ok 10 - when "collect_annotations" is not set, unevaluatedProperties still works, but annotations are not returned 300s ok 11 - ... still works when unevaluated keywords are in a separate document 300s ok 12 - items.json does not need collect_annotations => 1 to evaluate itself 300s ok 13 - properties.json does not need collect_annotations => 1 to evaluate itself 300s ok 14 - referenced schemas still produce annotations internally when needed, even when not required to evaluate themselves in isolation 300s 1..14 300s ok 12 - collect_annotations and unevaluated keywords 300s # Subtest: annotate unknown keywords 300s ok 1 - no annotations even when collect_annotations is false 300s ok 2 - unknown keywords are collected as annotations 300s ok 3 - "unknown" keyword is set on the annotation objects for unknown keywords 300s ok 4 - no annotations from unknown keywords in draft2019-09 300s 1..4 300s ok 13 - annotate unknown keywords 300s # Subtest: items + additionalItems, prefixItems + items 300s ok 1 - schema-based items + additionalItems 300s ok 2 - prefixItems + schema-based items 300s 1..2 300s ok 14 - items + additionalItems, prefixItems + items 300s 1..14 300s ok 300s t/boolean-data.t ........................ 300s # Subtest: strict booleans (default) 300s ok 1 - in data, bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) is a boolean 300s ok 2 - in data, bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ) is a boolean 300s ok 3 - correct error generated from type for undef 300s ok 4 - correct error generated from type for 0 300s ok 5 - correct error generated from type for 1 300s ok 6 - correct error generated from type for '0' 300s ok 7 - correct error generated from type for '1' 300s ok 8 - correct error generated from type for 'false' 300s ok 9 - correct error generated from type for 'true' 300s ok 10 - correct error generated from type for \0 300s ok 11 - correct error generated from type for \1 300s ok 12 - in data, undef not is a boolean 300s ok 13 - in data, 0 not is a boolean 300s ok 14 - in data, 1 not is a boolean 300s ok 15 - in data, '0' not is a boolean 300s ok 16 - in data, '1' not is a boolean 300s ok 17 - in data, 'false' not is a boolean 300s ok 18 - in data, 'true' not is a boolean 300s ok 19 - in data, \0 not is a boolean 300s ok 20 - in data, \1 not is a boolean 300s 1..20 300s ok 1 - strict booleans (default) 300s # Subtest: scalarref_booleans = 1 300s ok 1 - in data, bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) is a boolean 300s ok 2 - in data, bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ) is a boolean 300s ok 3 - in data, \0 is a boolean 300s ok 4 - in data, \1 is a boolean 300s ok 5 - correct error generated from type for ['null',undef] 300s ok 6 - correct error generated from type for ['integer',0] 300s ok 7 - correct error generated from type for ['integer',1] 300s ok 8 - correct error generated from type for ['string','0'] 300s ok 9 - correct error generated from type for ['string','1'] 300s ok 10 - correct error generated from type for ['string','false'] 300s ok 11 - correct error generated from type for ['string','true'] 300s ok 12 - items are all considered unique when types differ, even when perl treats them similarly 300s ok 13 - scalarrefs compare as identical to their counterpart booleans 300s ok 14 - scalarrefs compare as identical to their counterpart booleans 300s ok 15 - scalarrefs compare as identical to their counterpart booleans 300s ok 16 - scalarrefs compare as identical to their counterpart booleans 300s 1..16 300s ok 2 - scalarref_booleans = 1 300s 1..2 300s ok 301s t/boolean-schemas.t ..................... 301s ok 1 - schema: false evaluates to: false 301s ok 2 - invalid result structure looks correct 301s ok 3 - no exceptions in evaluate 301s ok 4 - schema: true evaluates to: true 301s ok 5 - invalid result structure looks correct 301s ok 6 - no exceptions in evaluate 301s ok 7 - schema: {} evaluates to: true 301s ok 8 - invalid result structure looks correct 301s ok 9 - no exceptions in evaluate 301s ok 10 - schema: 0 evaluates to: false 301s ok 11 - invalid result structure looks correct 301s ok 12 - no exceptions in evaluate 301s ok 13 - schema: 1 evaluates to: false 301s ok 14 - invalid result structure looks correct 301s ok 15 - no exceptions in evaluate 301s ok 16 - schema: false evaluates to: false 301s ok 17 - invalid result structure looks correct 301s ok 18 - no exceptions in evaluate 301s ok 19 - schema: true evaluates to: false 301s ok 20 - invalid result structure looks correct 301s ok 21 - no exceptions in evaluate 301s ok 22 - invalid schema type results in error 301s ok 23 - scalarref for schema results in error, even when scalarref_booleans is true 301s 1..23 301s ok 302s t/cached-metaschemas.t .................. 302s # Subtest: load cached metaschema 302s ok 1 - this resource is not yet known 302s ok 2 - loaded metaschema from sharedir cache 302s ok 3 - this resource is now in the resource index 302s 1..3 302s ok 1 - load cached metaschema 302s # Subtest: resource collision with cached metaschema 302s ok 1 - cannot introduce another schema whose id collides with a cached schema, even if it isn't loaded yet 302s 1..1 302s ok 2 - resource collision with cached metaschema 302s 1..2 302s ok 302s t/callbacks.t ........................... 302s # Subtest: evaluation callbacks 302s ok 1 - evaluation was successful 302s ok 2 - identified all data paths where a $ref was used 302s ok 3 - evaluation was not successful 302s ok 4 - no callbacks on failure: innermost $ref failed, so all other $refs failed too 302s ok 5 - evaluation was successful 302s ok 6 - successful subschemas have callbacks called, but not failed subschemas 302s 1..6 302s ok 1 - evaluation callbacks 302s # Subtest: callbacks for keywords without eval subs 302s ok 1 - evaluation was successful 302s ok 2 - callbacks are triggered for keywords even when they lack evaluation subs 302s 1..2 302s ok 2 - callbacks for keywords without eval subs 302s # Subtest: callbacks that produce errors 302s ok 1 - result object contains the callback error, and the other errors 302s ok 2 - result object contains the callback error, and short-circuits execution 302s 1..2 302s ok 3 - callbacks that produce errors 302s 1..3 302s ok 303s t/content-encoding.t .................... 303s # Subtest: unrecognized encoding formats do not result in errors, when not asserting 303s ok 1 - in evaluate(), annotations are collected and no validation is performed 303s 1..1 303s ok 1 - unrecognized encoding formats do not result in errors, when not asserting 303s # Subtest: media_type and encoding handlers 303s ok 1 - upper-cased names are not accepted 303s ok 2 - application/json media_type decoder 303s ok 3 - */* has no default match 303s ok 4 - default text/plain media_type decoder 303s ok 5 - getter uses the casefolded name 303s ok 6 - getter matches to wildcard entries 303s ok 7 - getter uses new override entry for wildcard 303s ok 8 - getter prefers case-insensitive matches to wildcard entries 303s ok 9 - getter matches to wildcard entries 303s ok 10 - text/* matches itself 303s ok 11 - getter still prefers case-insensitive matches to wildcard entries 303s ok 12 - text/* is preferred to */* 303s ok 13 - */* matches */*, once defined 303s ok 14 - */* is returned as a last resort 303s ok 15 - application/x-www-form-urlencoded happy path with unicode 303s ok 16 - application/x-ndjson happy path with unicode 303s ok 17 - application/x-ndjson dies with line number of the bad data 303s ok 18 - base64 encoding decoder + application/json media_type decoder 303s ok 19 - base64url encoding decoder + application/json media_type decoder 303s 1..19 303s ok 2 - media_type and encoding handlers 303s # Subtest: draft2020-12 assertions 303s ok 1 - under the current spec version, content* keywords are not assertions 303s ok 2 - contentEncoding first decodes the string, erroring if it can't 303s ok 3 - then contentMediaType parses the decoded string, erroring if it can't, and does not continue with the schema 303s ok 4 - contentSchema evaluates the decoded data 303s ok 5 - null data is handled properly 303s ok 6 - contentSchema successfully evaluates the decoded data 303s 1..6 303s ok 3 - draft2020-12 assertions 303s # Subtest: draft7 assertions 303s ok 1 - in draft7, assertion behaviour is the default 303s ok 2 - in draft7, then contentMediaType parses the decoded string, erroring if it can't, and does not continue with the schema 303s ok 3 - under draft7, content* are assertions by default, but contentSchema does not exist 303s 1..3 303s ok 4 - draft7 assertions 303s # Subtest: more assertions 303s ok 1 - evaluation aborts with an unrecognized contentEncoding 303s ok 2 - evaluation aborts with an unrecognized contentMediaType 303s 1..2 303s ok 5 - more assertions 303s 1..5 303s ok 305s t/dialects.t ............................ 305s # Subtest: invalid use of the $schema keyword 305s ok 1 - $schema can only appear at the root of a schema, when there is no canonical URI 305s ok 2 - $schema can only appear where the canonical URI has no fragment, when there is a canonical URI 305s ok 3 - this is still not a resource root, even in a $ref target 305s 1..3 305s ok 1 - invalid use of the $schema keyword 305s # Subtest: defaults without a $schema keyword 305s ok 1 - boolean schema: no $id, no $schema 305s ok 2 - boolean schema: defaults to draft2020-12 without a $schema keyword 305s ok 3 - object schema: no $id, no $schema 305s ok 4 - object schema: defaults to draft2020-12 without a $schema keyword 305s ok 5 - "not" keyword, from the Applicator vocabulary, is traversed at the root level 305s ok 6 - object schema: $id, no $schema 305s ok 7 - named resource defaults to draft2020-12 without a $schema keyword 305s ok 8 - boolean schema: no $id, no $schema 305s ok 9 - boolean schema: specification_version overridden 305s ok 10 - object schema: no $id, no $schema, specification version overridden, other keywords are ignored during traversal 305s ok 11 - object schema: no $id, no $schema, specification version overridden, other keywords are ignored during evaluation 305s ok 12 - object schema: overridden to draft7 305s ok 13 - object schema: $id, no $schema, unrecognized+invalid keywords are ignored during traversal 305s ok 14 - object schema: $id, no $schema 305s ok 15 - object schema: overridden to draft7 and other keywords are ignored 305s 1..15 305s ok 2 - defaults without a $schema keyword 305s # Subtest: behaviour with a $schema keyword 305s ok 1 - object schema: no $id, has $schema, unrecognized+invalid keywords are ignored during traversal 305s ok 2 - object schema: no $id, has $schema, unrecognized keywords are ignored during evaluation 305s ok 3 - semantics can be changed to another draft version 305s ok 4 - schema is accepted with $schema without an empty fragment 305s ok 5 - ..and is still recognized as draft7 305s ok 6 - $id and $schema, unrecognized+invalid keywords are ignored during traversal 305s ok 7 - $id and $schema 305s ok 8 - named resource can be changed to another draft version and other keywords are ignored 305s ok 9 - no $id, specification version overridden twice; unrecognized+invalid keywords are ignored during traversal 305s ok 10 - no $id, specification version overridden twice, other keywords are ignored during evaluation 305s ok 11 - unnamed resource can be changed to another draft version 305s ok 12 - no $id, specification version overridden twice; unrecognized+invalid keywords are ignored during traversal 305s ok 13 - no $id, specification version overridden twice, other keywords are ignored during evaluation 305s ok 14 - unnamed resource can be changed to another draft version 305s 1..14 305s ok 3 - behaviour with a $schema keyword 305s # Subtest: setting or changing schema semantics in a single document 305s ok 1 - $schema can appear adjacent to any $id 305s 1..1 305s ok 4 - setting or changing schema semantics in a single document 305s # Subtest: changing schema semantics across documents 305s ok 1 - no unexpected warnings 305s ok 2 - switching between specification versions is acceptable when crossing document boundaries 305s ok 3 - resources for top level schema 305s ok 4 - resources for subschema 305s ok 5 - no unexpected warnings 305s ok 6 - switching between specification versions is acceptable when crossing document boundaries 305s ok 7 - resources for top level schema 305s ok 8 - resources for subschema 305s 1..8 305s ok 5 - changing schema semantics across documents 305s # Subtest: changing schema semantics within documents 305s # 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. 305s ok 1 - switching between specification versions is acceptable within a document, draft2019-09 -> draft7 305s ok 2 - resources for top level schema 305s ok 3 - resources for subschema 305s # 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. 305s ok 4 - switching between specification versions is acceptable within a document, draft7 -> draf2020-12 305s ok 5 - resources for top level schema 305s ok 6 - resources for subschema 305s 1..6 305s ok 6 - changing schema semantics within documents 305s # Subtest: $vocabulary 305s ok 1 - $vocabulary syntax checks 305s ok 2 - $vocabulary location check - resource root 305s ok 3 - $vocabulary location check - document root 305s ok 4 - successfully evaluated a metaschema that specifies vocabularies 305s ok 5 - metaschemas are not saved on the resource 305s ok 6 - ..but once we use the schema as a metaschema, 305s ok 7 - ... the vocabulary information is now cached in the evaluator 305s 1..7 305s ok 7 - $vocabulary 305s # Subtest: standard metaschemas 305s ok 1 - main metaschema evaluated against its own URI 305s ok 2 - main metaschema evaluated against its own content 305s ok 3 - core metaschema evaluated against the main metaschema URI 305s ok 4 - core metaschema evaluated against its own content 305s 1..4 305s ok 8 - standard metaschemas 305s # Subtest: custom metaschemas, without custom vocabularies 305s ok 1 - specification version detected from standard metaschema URI 305s ok 2 - custom metaschema restricts schemas to objects 305s ok 3 - custom metaschema recurses to standard metaschema 305s ok 4 - objects are acceptable schemas to this metaschema 305s ok 5 - metaschemas without $vocabulary can still be used in the $schema keyword 305s ok 6 - ..and schema uses the correct spec version and vocabularies 305s 1..6 305s ok 9 - custom metaschemas, without custom vocabularies 305s # Subtest: custom metaschemas, with custom vocabularies 305s ok 1 - custom metaschemas are okay, but the document must be known 305s ok 2 - $vocabulary location check - document root 305s ok 3 - metaschemas must have an i$id 305s ok 4 - $vocabulary validation that must be deferred until used as a metaschema 305s ok 5 - metaschemas using "$vocabulary" must contain vocabularies 305s ok 6 - metaschemas must contain the Core vocabulary 305s ok 7 - validation succeeds because "minimum" never gets run 305s ok 8 - determined vocabularies to use for this schema 305s 1..8 305s ok 10 - custom metaschemas, with custom vocabularies 305s # Subtest: custom vocabulary classes with add_vocabulary() 305s ok 1 - vocabulary class must exist 305s ok 2 - vocabulary class must implement the role 305s ok 3 - vocabulary class must implement some subs 305s ok 4 - vocabulary() sub in the vocabulary class must return uri => specification_version pairs 305s ok 5 - parse error from bad vocab sub 305s ok 6 - vocabulary() sub in the vocabulary class must contain valid absolute, fragmentless URIs 305s ok 7 - vocabulary() sub in the vocabulary class must reference a known specification version 305s ok 8 - added a vocabulary sub 305s ok 9 - vocabulary was successfully added 305s ok 10 - custom vocabulary class has a conflicting evaluation_order 305s ok 11 - added another vocabulary sub 305s ok 12 - custom vocabulary class used by a custom metaschema used by a schema 305s 1..12 305s ok 11 - custom vocabulary classes with add_vocabulary() 305s # Subtest: $schema points to a boolean schema 305s ok 1 - $schema cannot reference a boolean schema 305s 1..1 305s ok 12 - $schema points to a boolean schema 305s 1..12 305s ok 306s t/document.t ............................ 306s # Subtest: boolean document 306s ok 1 - boolean schema with no canonical_uri 306s ok 2 - boolean schema with invalid canonical_uri (fragment) 306s ok 3 - boolean schema with valid canonical_uri 306s 1..3 306s ok 1 - boolean document 306s # Subtest: object document 306s ok 1 - object schema with no canonical_uri, no root $id 306s ok 2 - object schema with valid canonical_uri, no root $id 306s ok 3 - object schema with no canonical_uri, and absolute root $id 306s ok 4 - object schema with no canonical_uri, and absolute root $id 306s ok 5 - object schema with no canonical_uri, and absolute root $id 306s ok 6 - object schema with canonical_uri and root $id, and additional resource schemas as well 306s ok 7 - relative uri for root $id 306s ok 8 - no root $id; absolute uri with path in subschema resource 306s 1..8 306s ok 2 - object document 306s # Subtest: $id and $anchor as properties 306s ok 1 - did not index the $id and $anchor properties as if they were identifier keywords 306s 1..1 306s ok 3 - $id and $anchor as properties 306s # Subtest: $id with an empty fragment 306s ok 1 - $id is stored with the empty fragment stripped 306s 1..1 306s ok 4 - $id with an empty fragment 306s # Subtest: $id with a non-empty fragment 306s ok 1 - did not index the $id with a non-empty fragment, nor use it as the base for other identifiers 306s 1..1 306s ok 5 - $id with a non-empty fragment 306s # Subtest: $anchor not conforming to syntax 306s ok 1 - did not index an $anchor with invalid characters 306s 1..1 306s ok 6 - $anchor not conforming to syntax 306s # Subtest: $schema not conforming to syntax 306s ok 1 - invalid $schema is detected 306s 1..1 306s ok 7 - $schema not conforming to syntax 306s # Subtest: $anchor and $id below an $id that is not at the document root 306s ok 1 - canonical_uri uses the path from the innermost $id, not document root $id 306s 1..1 306s ok 8 - $anchor and $id below an $id that is not at the document root 306s # Subtest: JSON pointer and URI escaping 306s ok 1 - properly escaped special characters in JSON pointers and URIs 306s ok 2 - schema locations are tracked 306s ok 3 - non-schema locations are also tracked 306s ok 4 - schema locations can be queried 306s 1..4 306s ok 9 - JSON pointer and URI escaping 306s # Subtest: resource collisions 306s ok 1 - detected collision between document's initial uri and a subschema's uri 306s ok 2 - detected collision between two subschema uris in a document 306s ok 3 - ignored "duplicate" uris embedded in non-schemas 306s ok 4 - the correct canonical uri is indexed in the inverted index 306s 1..4 306s ok 10 - resource collisions 306s # Subtest: create document with explicit canonical_uri set to the same as root $id 306s ok 1 - there is one single uri indexed to the document 306s 1..1 306s ok 11 - create document with explicit canonical_uri set to the same as root $id 306s # Subtest: canonical_uri identification from a document with errors 306s ok 1 - error lower down in document does not result in an inner identifier being used as canonical_uri 306s 1..1 306s ok 12 - canonical_uri identification from a document with errors 306s # Subtest: custom metaschema_uri 306s ok 1 - determined vocabularies to use for this schema 306s ok 2 - validation succeeds because "minimum" never gets run 306s ok 3 - can evaluate at a subschema as well, with the same vocabularies 306s ok 4 - schema validates against its metaschema, and "minimum" is ignored 306s ok 5 - no leaks in the evaluator object 306s 1..5 306s ok 13 - custom metaschema_uri 306s 1..13 306s ok 307s t/equality.t ............................ 307s # Subtest: equality, using inflated data 307s ok 1 - null == null is true 307s ok 2 - error is undefined 307s ok 3 - type of arg 0 was not mutated while making equality check 307s ok 4 - type of arg 1 was not mutated while making equality check 307s # 307s ok 5 - null == false is false 307s ok 6 - two instances differ at the expected place 307s ok 7 - error is correct 307s ok 8 - type of arg 0 was not mutated while making equality check 307s ok 9 - type of arg 1 was not mutated while making equality check 307s # 307s ok 10 - null == true is false 307s ok 11 - two instances differ at the expected place 307s ok 12 - error is correct 307s ok 13 - type of arg 0 was not mutated while making equality check 307s ok 14 - type of arg 1 was not mutated while making equality check 307s # 307s ok 15 - null == 1 is false 307s ok 16 - two instances differ at the expected place 307s ok 17 - error is correct 307s ok 18 - type of arg 0 was not mutated while making equality check 307s ok 19 - type of arg 1 was not mutated while making equality check 307s # 307s ok 20 - null == "1" is false 307s ok 21 - two instances differ at the expected place 307s ok 22 - error is correct 307s ok 23 - type of arg 0 was not mutated while making equality check 307s ok 24 - type of arg 1 was not mutated while making equality check 307s # 307s ok 25 - ["a", "b", "c"] == ["a", "b", "c"] is true 307s ok 26 - error is undefined 307s ok 27 - type of arg 0 was not mutated while making equality check 307s ok 28 - type of arg 1 was not mutated while making equality check 307s # 307s ok 29 - ["a", "b", "c"] == ["a", "b"] is false 307s ok 30 - two instances differ at the expected place 307s ok 31 - error is correct 307s ok 32 - type of arg 0 was not mutated while making equality check 307s ok 33 - type of arg 1 was not mutated while making equality check 307s # 307s ok 34 - ["a", "b"] == ["b", "a"] is false 307s ok 35 - two instances differ at the expected place 307s ok 36 - error is correct 307s ok 37 - type of arg 0 was not mutated while making equality check 307s ok 38 - type of arg 1 was not mutated while making equality check 307s # 307s ok 39 - 1 == 1 is true 307s ok 40 - error is undefined 307s ok 41 - type of arg 0 was not mutated while making equality check 307s ok 42 - type of arg 1 was not mutated while making equality check 307s # 307s ok 43 - 1 == 1.0 is true 307s ok 44 - error is undefined 307s ok 45 - type of arg 0 was not mutated while making equality check 307s ok 46 - type of arg 1 was not mutated while making equality check 307s # 307s ok 47 - 1 == "1.0" is false 307s ok 48 - two instances differ at the expected place 307s ok 49 - error is correct 307s ok 50 - type of arg 0 was not mutated while making equality check 307s ok 51 - type of arg 1 was not mutated while making equality check 307s # 307s ok 52 - "1.1" == 1.1 is false 307s ok 53 - two instances differ at the expected place 307s ok 54 - error is correct 307s ok 55 - type of arg 0 was not mutated while making equality check 307s ok 56 - type of arg 1 was not mutated while making equality check 307s # 307s ok 57 - "1" == 1 is false 307s ok 58 - two instances differ at the expected place 307s ok 59 - error is correct 307s ok 60 - type of arg 0 was not mutated while making equality check 307s ok 61 - type of arg 1 was not mutated while making equality check 307s # 307s ok 62 - "1.1" == 1.1 is false 307s ok 63 - two instances differ at the expected place 307s ok 64 - error is correct 307s ok 65 - type of arg 0 was not mutated while making equality check 307s ok 66 - type of arg 1 was not mutated while making equality check 307s # 307s ok 67 - [1, 2] == [2, 1] is false 307s ok 68 - two instances differ at the expected place 307s ok 69 - error is correct 307s ok 70 - type of arg 0 was not mutated while making equality check 307s ok 71 - type of arg 1 was not mutated while making equality check 307s # 307s ok 72 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 2} is true 307s ok 73 - error is undefined 307s ok 74 - type of arg 0 was not mutated while making equality check 307s ok 75 - type of arg 1 was not mutated while making equality check 307s # 307s ok 76 - {"a" : 1} == {"a" : 1.0} is true 307s ok 77 - error is undefined 307s ok 78 - type of arg 0 was not mutated while making equality check 307s ok 79 - type of arg 1 was not mutated while making equality check 307s # 307s ok 80 - ["école", "ಠ_ಠ"] == ["école", "ಠ_ಠ"] is true 307s ok 81 - error is undefined 307s ok 82 - type of arg 0 was not mutated while making equality check 307s ok 83 - type of arg 1 was not mutated while making equality check 307s # 307s ok 84 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 3} is false 307s ok 85 - two instances differ at the expected place 307s ok 86 - error is correct 307s ok 87 - type of arg 0 was not mutated while making equality check 307s ok 88 - type of arg 1 was not mutated while making equality check 307s # 307s ok 89 - {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 4}} == {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 5}} is false 307s ok 90 - two instances differ at the expected place 307s ok 91 - error is correct 307s ok 92 - type of arg 0 was not mutated while making equality check 307s ok 93 - type of arg 1 was not mutated while making equality check 307s # 307s ok 94 - [{"a" : 1}] == [{"a" : 1, "b" : 2}] is false 307s ok 95 - two instances differ at the expected place 307s ok 96 - error is correct 307s ok 97 - type of arg 0 was not mutated while making equality check 307s ok 98 - type of arg 1 was not mutated while making equality check 307s # 307s ok 99 - [{"a" : 1}] == [{"b" : 2}] is false 307s ok 100 - two instances differ at the expected place 307s ok 101 - error is correct 307s ok 102 - type of arg 0 was not mutated while making equality check 307s ok 103 - type of arg 1 was not mutated while making equality check 307s # 307s ok 104 - {"foo" : [[0]]} == {"foo" : [[0, 1]]} is false 307s ok 105 - two instances differ at the expected place 307s ok 106 - error is correct 307s ok 107 - type of arg 0 was not mutated while making equality check 307s ok 108 - type of arg 1 was not mutated while making equality check 307s # 307s 1..108 307s ok 1 - equality, using inflated data 307s # Subtest: equality, using JSON strings 307s ok 1 - null == null is true 307s ok 2 - type of arg 0 was not mutated while making equality check 307s ok 3 - type of arg 1 was not mutated while making equality check 307s # 307s ok 4 - null == 1 is false 307s ok 5 - two instances differ at the expected place 307s ok 6 - type of arg 0 was not mutated while making equality check 307s ok 7 - type of arg 1 was not mutated while making equality check 307s # 307s ok 8 - ["a", "b", "c"] == ["a", "b", "c"] is true 307s ok 9 - type of arg 0 was not mutated while making equality check 307s ok 10 - type of arg 1 was not mutated while making equality check 307s # 307s ok 11 - ["a", "b", "c"] == ["a", "b"] is false 307s ok 12 - two instances differ at the expected place 307s ok 13 - type of arg 0 was not mutated while making equality check 307s ok 14 - type of arg 1 was not mutated while making equality check 307s # 307s ok 15 - ["a", "b"] == ["b", "a"] is false 307s ok 16 - two instances differ at the expected place 307s ok 17 - type of arg 0 was not mutated while making equality check 307s ok 18 - type of arg 1 was not mutated while making equality check 307s # 307s ok 19 - 1 == 1 is true 307s ok 20 - type of arg 0 was not mutated while making equality check 307s ok 21 - type of arg 1 was not mutated while making equality check 307s # 307s ok 22 - 1 == 1.0 is true 307s ok 23 - type of arg 0 was not mutated while making equality check 307s ok 24 - type of arg 1 was not mutated while making equality check 307s # 307s ok 25 - 10 == 10.0 is true 307s ok 26 - type of arg 0 was not mutated while making equality check 307s ok 27 - type of arg 1 was not mutated while making equality check 307s # 307s ok 28 - [1, 2] == [2, 1] is false 307s ok 29 - two instances differ at the expected place 307s ok 30 - type of arg 0 was not mutated while making equality check 307s ok 31 - type of arg 1 was not mutated while making equality check 307s # 307s ok 32 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 2} is true 307s ok 33 - type of arg 0 was not mutated while making equality check 307s ok 34 - type of arg 1 was not mutated while making equality check 307s # 307s ok 35 - {"a" : 1} == {"a" : 1.0} is true 307s ok 36 - type of arg 0 was not mutated while making equality check 307s ok 37 - type of arg 1 was not mutated while making equality check 307s # 307s ok 38 - ["école", "ಠ_ಠ"] == ["école", "ಠ_ಠ"] is true 307s ok 39 - type of arg 0 was not mutated while making equality check 307s ok 40 - type of arg 1 was not mutated while making equality check 307s # 307s ok 41 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 3} is false 307s ok 42 - two instances differ at the expected place 307s ok 43 - type of arg 0 was not mutated while making equality check 307s ok 44 - type of arg 1 was not mutated while making equality check 307s # 307s ok 45 - {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 4}} == {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 5}} is false 307s ok 46 - two instances differ at the expected place 307s ok 47 - type of arg 0 was not mutated while making equality check 307s ok 48 - type of arg 1 was not mutated while making equality check 307s # 307s 1..48 307s ok 2 - equality, using JSON strings 307s # Subtest: equality, using scalarref_booleans 307s ok 1 - false == true is false 307s ok 2 - two instances differ at the expected place 307s ok 3 - type of arg 0 was not mutated while making equality check 307s ok 4 - type of arg 1 was not mutated while making equality check 307s # 307s ok 5 - true == true is true 307s ok 6 - type of arg 0 was not mutated while making equality check 307s ok 7 - type of arg 1 was not mutated while making equality check 307s # 307s ok 8 - false == false is true 307s ok 9 - type of arg 0 was not mutated while making equality check 307s ok 10 - type of arg 1 was not mutated while making equality check 307s # 307s ok 11 - true == false is false 307s ok 12 - two instances differ at the expected place 307s ok 13 - type of arg 0 was not mutated while making equality check 307s ok 14 - type of arg 1 was not mutated while making equality check 307s # 307s ok 15 - null == false is false 307s ok 16 - two instances differ at the expected place 307s ok 17 - type of arg 0 was not mutated while making equality check 307s ok 18 - type of arg 1 was not mutated while making equality check 307s # 307s ok 19 - null == false is false 307s ok 20 - two instances differ at the expected place 307s ok 21 - type of arg 0 was not mutated while making equality check 307s ok 22 - type of arg 1 was not mutated while making equality check 307s # 307s 1..22 307s ok 3 - equality, using scalarref_booleans 307s # Subtest: equality, using stringy_numbers 307s ok 1 - 1 == 1 is true 307s ok 2 - type of arg 0 was not mutated while making equality check (get_type returns integer) 307s ok 3 - type of arg 1 was not mutated while making equality check (get_type returns integer) 307s ok 4 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 307s ok 5 - type of arg 1 was not mutated while making equality check (is_type('integer') returns true) 307s # 307s ok 6 - 1 == 1.0 is true 307s ok 7 - type of arg 0 was not mutated while making equality check (get_type returns integer) 307s ok 8 - type of arg 1 was not mutated while making equality check (get_type returns integer) 307s ok 9 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 307s ok 10 - type of arg 1 was not mutated while making equality check (is_type('integer') returns true) 307s # 307s ok 11 - 1 == "1.0" is true 307s ok 12 - type of arg 0 was not mutated while making equality check (get_type returns integer) 307s ok 13 - type of arg 1 was not mutated while making equality check (get_type returns string) 307s ok 14 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 307s ok 15 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 307s # 307s ok 16 - "1.1" == 1.1 is true 307s ok 17 - type of arg 0 was not mutated while making equality check (get_type returns string) 307s ok 18 - type of arg 1 was not mutated while making equality check (get_type returns number) 307s ok 19 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 307s ok 20 - type of arg 1 was not mutated while making equality check (is_type('number') returns true) 307s # 307s ok 21 - "1" == 1 is true 307s ok 22 - type of arg 0 was not mutated while making equality check (get_type returns string) 307s ok 23 - type of arg 1 was not mutated while making equality check (get_type returns integer) 307s ok 24 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 307s ok 25 - type of arg 1 was not mutated while making equality check (is_type('integer') returns true) 307s # 307s ok 26 - "1.1" == 1.1 is true 307s ok 27 - type of arg 0 was not mutated while making equality check (get_type returns string) 307s ok 28 - type of arg 1 was not mutated while making equality check (get_type returns number) 307s ok 29 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 307s ok 30 - type of arg 1 was not mutated while making equality check (is_type('number') returns true) 307s # 307s ok 31 - "1" == "1.00" is true 307s ok 32 - type of arg 0 was not mutated while making equality check (get_type returns string) 307s ok 33 - type of arg 1 was not mutated while making equality check (get_type returns string) 307s ok 34 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 307s ok 35 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 307s # 307s ok 36 - "1.10" == "1.1000" is true 307s ok 37 - type of arg 0 was not mutated while making equality check (get_type returns string) 307s ok 38 - type of arg 1 was not mutated while making equality check (get_type returns string) 307s ok 39 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 307s ok 40 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 307s # 307s ok 41 - "x" == "x" is true 307s ok 42 - type of arg 0 was not mutated while making equality check (get_type returns string) 307s ok 43 - type of arg 1 was not mutated while making equality check (get_type returns string) 307s ok 44 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 307s ok 45 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 307s # 307s ok 46 - "x" == "y" is false 307s ok 47 - two instances differ at the expected place 307s ok 48 - type of arg 0 was not mutated while making equality check (get_type returns string) 307s ok 49 - type of arg 1 was not mutated while making equality check (get_type returns string) 307s ok 50 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 307s ok 51 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 307s # 307s ok 52 - "5" == 5 is true 307s ok 53 - type of arg 0 was not mutated while making equality check (get_type returns string) 307s ok 54 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 307s ok 55 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 307s # 307s ok 56 - 5 == 5 is true 307s ok 57 - type of arg 0 was not mutated while making equality check (get_type returns integer) 307s ok 58 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 307s ok 59 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 307s # 307s ok 60 - "5" == "five" is false 307s ok 61 - two instances differ at the expected place 307s ok 62 - type of arg 0 was not mutated while making equality check (get_type returns string) 307s ok 63 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 307s ok 64 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 307s # 307s ok 65 - 5 == "five" is false 307s ok 66 - two instances differ at the expected place 307s ok 67 - type of arg 0 was not mutated while making equality check (get_type returns integer) 307s ok 68 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 307s ok 69 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 307s # 307s 1..69 307s ok 4 - equality, using stringy_numbers 307s 1..4 307s ok 308s t/errors.t .............................. 308s # Subtest: multiple types 308s ok 1 - type returned false 308s ok 2 - got error count 308s ok 3 - correct error generated from type 308s ok 4 - result object serializes correctly 308s 1..4 308s ok 1 - multiple types 308s # Subtest: multipleOf 308s ok 1 - correct error generated from multipleOf 308s 1..1 308s ok 2 - multipleOf 308s # Subtest: uniqueItems 308s ok 1 - correct error generated from uniqueItems 308s 1..1 308s ok 3 - uniqueItems 308s # Subtest: allOf, not, and false schema 308s ok 1 - correct errors with locations; did not collect errors inside "not" 308s ok 2 - short-circuited results contain fewer errors 308s 1..2 308s ok 4 - allOf, not, and false schema 308s # Subtest: anyOf keeps all errors for false paths when invalid, discards errors for false paths when valid 308s ok 1 - correct errors with locations; did not collect errors inside "not" 308s ok 2 - short-circuited results contain the same errors (short-circuiting not possible) 308s ok 3 - did not collect errors from failure paths from successful anyOf 308s ok 4 - no errors collected for true validation 308s 1..4 308s ok 5 - anyOf keeps all errors for false paths when invalid, discards errors for false paths when valid 308s # Subtest: applicators with non-boolean subschemas, discarding intermediary errors - items 308s ok 1 - collected all errors from subschemas for failing branches only (passing branches discard errors) 308s ok 2 - short-circuited results contain fewer errors 308s 1..2 308s ok 6 - applicators with non-boolean subschemas, discarding intermediary errors - items 308s # Subtest: applicators with non-boolean subschemas, discarding intermediary errors - contains 308s ok 1 - collected all errors from subschemas for failing branches only (passing branches discard errors) 308s ok 2 - short-circuited results contain the same errors 308s 1..2 308s ok 7 - applicators with non-boolean subschemas, discarding intermediary errors - contains 308s # Subtest: errors with $refs 308s ok 1 - errors have correct absolute keyword location via $ref 308s 1..1 308s ok 8 - errors with $refs 308s # Subtest: const and enum 308s ok 1 - got details about object differences in errors from const and enum 308s 1..1 308s ok 9 - const and enum 308s # Subtest: exceptions 308s ok 1 - attempting to evaluate a json string returns the exception as an error 308s ok 2 - exception flag is true on the result 308s ok 3 - a subschema of an invalid type returns an error at the right position, and evaluation continues 308s ok 4 - exception flag is true on the result 308s ok 5 - invalid argument to "type" returns an error at the right position, and evaluation continues 308s ok 6 - exception flag is true on the result 308s 1..6 308s ok 10 - exceptions 308s # Subtest: errors after crossing multiple $refs using $id and $anchor 308s ok 1 - errors have correct absolute keyword location via $ref 308s ok 2 - absolute keyword location is correct, even when not used in the $ref 308s 1..2 308s ok 11 - errors after crossing multiple $refs using $id and $anchor 308s # Subtest: unresolvable $ref to a local resource 308s ok 1 - error for a bad $ref reports the correct absolute location that was referred to 308s ok 2 - exception flag is true on the result 308s 1..2 308s ok 12 - unresolvable $ref to a local resource 308s # Subtest: unresolvable $ref to a remote resource 308s ok 1 - error for a bad $ref reports the correct absolute location that was referred to 308s ok 2 - exception flag is true on the result 308s 1..2 308s ok 13 - unresolvable $ref to a remote resource 308s # Subtest: unresolvable $ref to plain-name fragment 308s ok 1 - properly handled a bad $ref to an anchor 308s ok 2 - exception flag is true on the result 308s 1..2 308s ok 14 - unresolvable $ref to plain-name fragment 308s # Subtest: abort due to a schema error 308s ok 1 - exception inside a oneOf (where errors are localized) are still included in the result 308s 1..1 308s ok 15 - abort due to a schema error 308s # Subtest: sorted property names 308s ok 1 - property names are considered in sorted order 308s 1..1 308s ok 16 - sorted property names 308s # Subtest: bad regex in schema 308s ok 1 - bad "pattern" and "patternProperties" regexes are properly noted in error 308s ok 2 - bad "pattern" regex is properly noted in error 308s ok 3 - "pattern" regex is now valid, due to the Unicode property becoming defined 308s 1..3 308s ok 17 - bad regex in schema 308s # Subtest: JSON pointer escaping 308s ok 1 - JSON pointers are properly escaped; URIs doubly so 308s ok 2 - absoluteKeywordLocation is omitted when paths are the same, not counting uri encoding 308s ok 3 - use of _schema_path_suffix in a fatal error 308s 1..3 308s ok 18 - JSON pointer escaping 308s # Subtest: absoluteKeywordLocation 308s ok 1 - absoluteKeywordLocation is included when different from instanceLocation, even when empty 308s ok 2 - absoluteKeywordLocation is not included when the path equals keywordLocation, even if a $ref is present 308s ok 3 - absoluteKeywordLocation is never "\#" 308s ok 4 - absoluteKeywordLocation reflects the canonical schema uri as it changes when passing through $id 308s ok 5 - plain-name fragment in $id does not change canonical schema uri 308s 1..5 308s ok 19 - absoluteKeywordLocation 308s # Subtest: dependentRequired 308s ok 1 - dependentRequired traversal error 308s 1..1 308s ok 20 - dependentRequired 308s # Subtest: evaluate in the middle of a document 308s ok 1 - provided evaluation uri does not exist 308s ok 2 - error has correct locations from override hash 308s 1..2 308s ok 21 - evaluate in the middle of a document 308s # Subtest: numbers in output 308s ok 1 - numbers in errors do not lose any digits of precision 308s 1..1 308s ok 22 - numbers in output 308s # Subtest: effective_base_uri 308s ok 1 - error locations are relative to the effective_base_uri, but $ref usage is not restricted 308s 1..1 308s ok 23 - effective_base_uri 308s # Subtest: recommended_response 308s ok 1 - recommended_response is not defined when there are no errors 308s ok 2 - recommended_response uses the first error in the result 308s ok 3 - recommended_response indicates an exception occurred 308s ok 4 - recommended_response uses the one from the error that is explicitly set 308s 1..4 308s ok 24 - recommended_response 308s # Subtest: exclusiveMaximum, exclusiveMinimum across drafts 308s ok 1 - later drafts; errors are produced separately from the keywords 308s ok 2 - later drafts; two errors can result 308s ok 3 - draft4: one error comes from maximum, but includes the exclusiveMaximum check 308s ok 4 - draft4: maximum + exclusiveMaximum checks are combined 308s ok 5 - draft4: exclusive check uses the right boundary 308s ok 6 - draft4: maximum check is correct 308s 1..6 308s ok 25 - exclusiveMaximum, exclusiveMinimum across drafts 308s 1..25 308s ok 308s t/evaluate_json_string.t ................ 308s ok 1 - we have a JSON decoder 308s ok 2 - json data "true" is evaluated successfully 308s ok 3 - no exceptions in evaluate_json_string on good json 308s ok 4 - evaluating bad json data returns false, with error 308s ok 5 - no exceptions in evaluate_json_string on bad json 308s 1..5 308s ok 309s t/find-identifiers.t .................... 309s # Subtest: $id sets canonical uri 309s ok 1 - $id was recognized - $ref was successfully traversed 309s ok 2 - resources indexed; document canonical_uri is still unset 309s ok 3 - the same document object is indexed under both URIs 309s ok 4 - the schema contains no blessed leaf nodes 309s 1..4 309s ok 1 - $id sets canonical uri 309s # Subtest: anchors 309s ok 1 - $id was recognized - absolute locations use json paths, not anchors 309s ok 2 - internal resource index is correct 309s 1..2 309s ok 2 - anchors 309s # Subtest: $anchor at root without $id 309s ok 1 - $id without anchor was recognized - absolute locations use json paths, not anchors 309s ok 2 - internal resource index is correct 309s 1..2 309s ok 3 - $anchor at root without $id 309s # Subtest: $ids and $anchors in subschemas after $id changes 309s ok 1 - $anchor is legal in a subschema 309s ok 2 - internal resource index is correct 309s 1..2 309s ok 4 - $ids and $anchors in subschemas after $id changes 309s # Subtest: invalid $id and $anchor 309s ok 1 - bad $id and $anchor are detected, even if bad definitions are not traversed 309s ok 2 - "bad" $ids and $anchors that are not actually keywords are not reported as errors 309s 1..2 309s ok 5 - invalid $id and $anchor 309s # Subtest: nested $ids 309s ok 1 - errors have the correct location 309s ok 2 - properly resolved all the nested $ids 309s 1..2 309s ok 6 - nested $ids 309s # Subtest: multiple documents, each using canonical_uri = "" 309s ok 1 - evaluation of schema1 309s ok 2 - resources in initial schema are indexed 309s ok 3 - successful evaluation of schema2 309s ok 4 - resources in second schema are indexed; all resources from first schema are preserved except uri="" 309s 1..4 309s ok 7 - multiple documents, each using canonical_uri = "" 309s # Subtest: multiple documents, each using canonical_uri = "", collisions in other resources 309s ok 1 - evaluation of schema1 309s ok 2 - resources in initial schema are indexed 309s ok 3 - schema2 cannot be evaluated - an internal $id collides with an existing resource 309s 1..3 309s ok 8 - multiple documents, each using canonical_uri = "", collisions in other resources 309s # Subtest: resource collisions in canonical uris 309s ok 1 - detected collision between a document's initial uri and a document's subschema's uri 309s ok 2 - detected collision between two document subschema uris 309s 1..2 309s ok 9 - resource collisions in canonical uris 309s # Subtest: relative uri in $id 309s ok 1 - root schema location is correctly identified 309s ok 2 - properly able to traverse a recursive schema using a relative $id 309s 1..2 309s ok 10 - relative uri in $id 309s 1..10 309s ok 310s t/formats.t ............................. 310s # Subtest: no validation 310s ok 1 - validate_formats=0 disables format assertion behaviour; annotation is still produced 310s ok 2 - format validation can be turned off in evaluate() 310s 1..2 310s ok 1 - no validation 310s # Subtest: simple validation 310s ok 1 - non-string values are valid, and produce an annotation 310s ok 2 - simple success 310s ok 3 - simple failure 310s ok 4 - format_validation defaults to false 310s ok 5 - format validation can be turned on in evaluate() 310s ok 6 - ...but the value is still false on the object 310s 1..6 310s ok 2 - simple validation 310s # Subtest: override a format sub 310s ok 1 - check syntax of override to existing format via constructor 310s ok 2 - check syntax of override format name to existing format via setter 310s ok 3 - check syntax of override definition value to existing format via setter 310s ok 4 - type is required if passing a hashref 310s ok 5 - cannot override a core format to support a different data type 310s ok 6 - can override a core format definition, as long as it uses the same type 310s ok 7 - check syntax of implementation for a new format 310s ok 8 - check syntax of implementation when adding an override to existing format 310s ok 9 - check syntax of implementation when adding a new format 310s ok 10 - swapping out format implementation turns success into failure; wrong types are still valid 310s ok 11 - can override a custom format definition to use a different type 310s 1..11 310s ok 3 - override a format sub 310s # Subtest: toggle validate_formats after adding schema 310s ok 1 - assertion behaviour is off initially 310s ok 2 - assertion behaviour can be enabled later with an already-loaded schema 310s ok 3 - valid assertion behaviour does not die 310s ok 4 - a schema document can be used with another evaluator with assertion behaviour 310s ok 5 - valid assertion behaviour does not die 310s 1..5 310s ok 4 - toggle validate_formats after adding schema 310s # Subtest: custom metaschemas 310s ok 1 - custom metaschema using format-assertion=true validates formats 310s ok 2 - custom metaschema using format-assertion=true validates formats 310s 1..2 310s ok 5 - custom metaschemas 310s # Subtest: core formats added after draft7 310s ok 1 - duration is not implemented in draft7 310s ok 2 - uuid is not implemented in draft7 310s 1..2 310s ok 6 - core formats added after draft7 310s # Subtest: unimplemented core formats 310s ok 1 - draft4 with validate_formats = 1, no error when an unimplemented core format is used 310s ok 2 - draft6 with validate_formats = 1, no error when an unimplemented core format is used 310s ok 3 - draft7 with validate_formats = 1, no error when an unimplemented core format is used 310s ok 4 - draft2019-09 with validate_formats = 1, no error when an unimplemented core format is used 310s ok 5 - draft2020-12 with validate_formats = 1, no error when an unimplemented core format is used 310s ok 6 - draft2020-12 with Format-Assertion vocabulary: error when an unimplemented core format is used 310s ok 7 - draft2020-12 with Format-Assertion vocabulary: error is seen even when containing subschema would be true 310s 1..7 310s ok 7 - unimplemented core formats 310s # Subtest: unknown custom formats 310s ok 1 - draft4: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure 310s ok 2 - draft6: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure 310s ok 3 - draft7: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure 310s ok 4 - draft2019-09: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure; annotation is still produced 310s ok 5 - draft2020-12: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure; annotation is still produced 310s ok 6 - draft2020-12: for format validation with the Format-Assertion vocabulary, unrecognized format attributes are detected at traverse time 310s 1..6 310s ok 8 - unknown custom formats 310s # Subtest: format: pure_integer 310s ok 1 - pure_integer format with type 310s ok 2 - pure_integer format without type 310s 1..2 310s ok 9 - format: pure_integer 310s # Subtest: formats supporting multiple core types 310s ok 1 - int64 format without type - accepts both numbers and strings 310s ok 2 - int64 format without type - accepts both numbers and strings 310s 1..2 310s ok 10 - formats supporting multiple core types 310s # Subtest: stringy numbers with a numeric format 310s ok 1 - FormatAnnotation+validate_formats: strings that look like numbers can be validated against a numeric format when stringy_numbers=1 310s ok 2 - FormatAssertion: strings that look like numbers can be validated against a numeric format when stringy_numbers=1 310s 1..2 310s ok 11 - stringy numbers with a numeric format 310s 1..11 310s ok 310s t/invalid-schemas-draft2019-09.t ........ 310s # AUTHOR_TESTING: 310s # AUTOMATED_TESTING: 1 310s # EXTENDED_TESTING: 310s # NO_TODO: 310s # TEST_DIR: 310s # NO_SHORT_CIRCUIT: 310s # 310s # running tests in /tmp/autopkgtest.vuKWDd/autopkgtest_tmp/smokehavTUc/t/invalid-schemas-draft2019-09 against draft2019-09... 310s # 310s ok 1 - invalid-input.json: "invalid user input: type (string)" - "graceful error from 'type' (string)" { 310s # result: { 310s # "errors": [ 310s # { 310s # "error": "type value is not a string", 310s # "instanceLocation": "", 310s # "keywordLocation": "/type" 310s # } 310s # ], 310s # "valid": false 310s # } 310s # short-circuited result: { 310s # "errors": [ 310s # { 310s # "error": "type value is not a string", 310s # "instanceLocation": "", 310s # "keywordLocation": "/type" 310s # } 310s # ], 310s # "valid": false 310s # } 310s ok 1 - test passes: data is valid: false 310s 1..1 310s } 310s ok 2 - invalid-input.json: "invalid user input: type (array)" - "graceful error from 'type' (array)" { 310s # result: { 310s # "errors": [ 310s # { 310s # "error": "unrecognized type \"\"", 310s # "instanceLocation": "", 310s # "keywordLocation": "/type" 310s # } 310s # ], 310s # "valid": false 310s # } 310s # short-circuited result: { 310s # "errors": [ 310s # { 310s # "error": "unrecognized type \"\"", 310s # "instanceLocation": "", 310s # "keywordLocation": "/type" 310s # } 310s # ], 310s # "valid": false 310s # } 310s ok 1 - test passes: data is valid: false 310s 1..1 310s } 310s # 310s ok 3 - ref.json: "invalid $ref: unencoded characters" - "unencoded characters in $ref uri" { 310s # result: { 310s # "errors": [ 310s # { 310s # "error": "$ref value is not a valid URI reference", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$defs/foo/$ref" 310s # } 310s # ], 310s # "valid": false 310s # } 310s # short-circuited result: { 310s # "errors": [ 310s # { 310s # "error": "$ref value is not a valid URI reference", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$defs/foo/$ref" 310s # } 310s # ], 310s # "valid": false 310s # } 310s ok 1 - test passes: data is valid: false 310s 1..1 310s } 310s ok 4 - ref.json: "invalid $ref: non-ascii characters" - "non-ascii characters in $ref uri" { 310s # result: { 310s # "errors": [ 310s # { 310s # "error": "$ref value is not a valid URI reference", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$defs/foo/$ref" 310s # } 310s # ], 310s # "valid": false 310s # } 310s # short-circuited result: { 310s # "errors": [ 310s # { 310s # "error": "$ref value is not a valid URI reference", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$defs/foo/$ref" 310s # } 310s # ], 310s # "valid": false 310s # } 310s ok 1 - test passes: data is valid: false 310s 1..1 310s } 310s # 310s ok 5 - vocabulary.json: "invalid $vocabulary: need boolean values" - "an invalid $vocabulary value (value should be a boolean)" { 310s # result: { 310s # "errors": [ 310s # { 310s # "error": "$vocabulary value at \"https://foo.com\" is not a boolean", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$vocabulary/https:~1~1foo.com" 310s # } 310s # ], 310s # "valid": false 310s # } 310s # short-circuited result: { 310s # "errors": [ 310s # { 310s # "error": "$vocabulary value at \"https://foo.com\" is not a boolean", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$vocabulary/https:~1~1foo.com" 310s # } 310s # ], 310s # "valid": false 310s # } 310s ok 1 - test passes: data is valid: false 310s 1..1 310s } 310s ok 6 - vocabulary.json: "invalid $vocabulary: uri must not have unencoded characters" - "unencoded characters in $vocabulary uri" { 310s # result: { 310s # "errors": [ 310s # { 310s # "error": "\"http://foo^bar/path\" is not a valid URI", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$vocabulary/http:~1~1foo^bar~1path" 310s # } 310s # ], 310s # "valid": false 310s # } 310s # short-circuited result: { 310s # "errors": [ 310s # { 310s # "error": "\"http://foo^bar/path\" is not a valid URI", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$vocabulary/http:~1~1foo^bar~1path" 310s # } 310s # ], 310s # "valid": false 310s # } 310s ok 1 - test passes: data is valid: false 310s 1..1 310s } 310s ok 7 - vocabulary.json: "invalid $vocabulary: non-ascii characters in uri" - "non-ascii characters in $vocabulary uri" { 310s # result: { 310s # "errors": [ 310s # { 310s # "error": "\"https://ಠ_ಠ.com\" is not a valid URI", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$vocabulary/https:~1~1ಠ_ಠ.com" 310s # } 310s # ], 310s # "valid": false 310s # } 310s # short-circuited result: { 310s # "errors": [ 310s # { 310s # "error": "\"https://ಠ_ಠ.com\" is not a valid URI", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$vocabulary/https:~1~1ಠ_ಠ.com" 310s # } 310s # ], 310s # "valid": false 310s # } 310s ok 1 - test passes: data is valid: false 310s 1..1 310s } 310s ok 8 - vocabulary.json: "invalid $vocabulary: missing scheme" - "$vocabulary uri is missing a scheme" { 310s # result: { 310s # "errors": [ 310s # { 310s # "error": "\"foo.com\" is not a valid URI", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$vocabulary/foo.com" 310s # } 310s # ], 310s # "valid": false 310s # } 310s # short-circuited result: { 310s # "errors": [ 310s # { 310s # "error": "\"foo.com\" is not a valid URI", 310s # "instanceLocation": "", 310s # "keywordLocation": "/$vocabulary/foo.com" 310s # } 310s # ], 310s # "valid": false 310s # } 310s ok 1 - test passes: data is valid: false 310s 1..1 310s } 310s # 310s # 310s # generated with: Test::JSON::Schema::Acceptance 1.026 310s # specification version: draft2019-09 310s # using custom test directory: t/invalid-schemas-draft2019-09 310s # optional tests included: no 310s # 310s # filename pass todo-fail fail 310s # --------------------------------------------------------------- 310s # invalid-input.json 2 0 0 310s # ref.json 2 0 0 310s # vocabulary.json 4 0 0 310s # --------------------------------------------------------------- 310s # TOTAL 8 0 0 310s # 310s # Congratulations, all non-optional tests are passing! 310s # 310s ok 9 - no leaks in the main evaluator object 310s ok 10 - no leaks in the short-circuiting evaluator object 310s 1..10 310s ok 311s t/max_traversal_depth.t ................. 311s ok 1 - evaluation is halted when traversal gets too deep 311s ok 2 - evaluation is halted when an instance location is evaluated against the same schema location a second time 311s ok 3 - the seen counter does not confuse URI paths and fragments: /properties/foo vs \#/properties/foo 311s ok 4 - the seen counter does not confuse two subschemas that both apply the same definition to the same instance location 311s 1..4 311s ok 311s t/multipleOf.t .......................... 311s # Subtest: multipleOf, native types 311s ok 1 - 4 is a multiple of 2 311s ok 2 - 4 is a multiple of 1 311s ok 3 - 4 is not a multiple of 3 311s ok 4 - 4.5 is a multiple of 1.5 311s ok 5 - 4.5 is not a multiple of 1 311s ok 6 - 4.5 is not a multiple of 3 311s ok 7 - 4 is a multiple of 2 311s ok 8 - 4 is not a multiple of 2.5 311s ok 9 - 5 is a multiple of 2.5 311s ok 10 - 4.5 is a multiple of 2.25 311s ok 11 - 4.5 is not a multiple of 2.5 311s ok 12 - 4.5 is not a multiple of 2 311s ok 13 - -9223372036854775808 is a multiple of 0.5 311s ok 14 - 9223372036854775807 is a multiple of 0.5 311s ok 15 - 18446744073709551615 is a multiple of 0.5 311s 1..15 311s ok 1 - multipleOf, native types 311s # Subtest: multipleOf, data is a bignum 311s ok 1 - 4 is a multiple of 2 311s ok 2 - 4 is a multiple of 1 311s ok 3 - 4 is not a multiple of 3 311s ok 4 - 4.5 is a multiple of 1.5 311s ok 5 - 4.5 is not a multiple of 1 311s ok 6 - 4.5 is not a multiple of 3 311s ok 7 - 4 is a multiple of 2 311s ok 8 - 4 is not a multiple of 2.5 311s ok 9 - 5 is a multiple of 2.5 311s ok 10 - 4.5 is a multiple of 2.25 311s ok 11 - 4.5 is not a multiple of 2.5 311s ok 12 - 4.5 is not a multiple of 2 311s ok 13 - -9223372036854775808 is a multiple of 0.5 311s ok 14 - 9223372036854775807 is a multiple of 0.5 311s ok 15 - 18446744073709551615 is a multiple of 0.5 311s 1..15 311s ok 2 - multipleOf, data is a bignum 311s # Subtest: multipleOf, multipleOf is a bignum 311s ok 1 - 4 is a multiple of 2 311s ok 2 - 4 is a multiple of 1 311s ok 3 - 4 is not a multiple of 3 311s ok 4 - 4.5 is a multiple of 1.5 311s ok 5 - 4.5 is not a multiple of 1 311s ok 6 - 4.5 is not a multiple of 3 311s ok 7 - 4 is a multiple of 2 311s ok 8 - 4 is not a multiple of 2.5 311s ok 9 - 5 is a multiple of 2.5 311s ok 10 - 4.5 is a multiple of 2.25 311s ok 11 - 4.5 is not a multiple of 2.5 311s ok 12 - 4.5 is not a multiple of 2 311s ok 13 - -9223372036854775808 is a multiple of 0.5 311s ok 14 - 9223372036854775807 is a multiple of 0.5 311s ok 15 - 18446744073709551615 is a multiple of 0.5 311s 1..15 311s ok 3 - multipleOf, multipleOf is a bignum 311s # Subtest: multipleOf, data and multipleOf are bignums 311s ok 1 - 4 is a multiple of 2 311s ok 2 - 4 is a multiple of 1 311s ok 3 - 4 is not a multiple of 3 311s ok 4 - 4.5 is a multiple of 1.5 311s ok 5 - 4.5 is not a multiple of 1 311s ok 6 - 4.5 is not a multiple of 3 311s ok 7 - 4 is a multiple of 2 311s ok 8 - 4 is not a multiple of 2.5 311s ok 9 - 5 is a multiple of 2.5 311s ok 10 - 4.5 is a multiple of 2.25 311s ok 11 - 4.5 is not a multiple of 2.5 311s ok 12 - 4.5 is not a multiple of 2 311s ok 13 - -9223372036854775808 is a multiple of 0.5 311s ok 14 - 9223372036854775807 is a multiple of 0.5 311s ok 15 - 18446744073709551615 is a multiple of 0.5 311s 1..15 311s ok 4 - multipleOf, data and multipleOf are bignums 311s 1..4 311s ok 312s t/output_format.t ....................... 312s ok 1 - output_format defaults to basic 312s ok 2 - Result object gets the output_format from the evaluator 312s ok 3 - basic format includes all errors linearly 312s ok 4 - flag format only includes the valid property 312s ok 5 - terse format omits errors from redundant applicator keywords 312s ok 6 - basic format includes all errors linearly 312s ok 7 - terse format does not omit these crucial errors 312s # Subtest: strict_basic 312s ok 1 - strict_basic turns json pointers into URIs, including uri escapes 312s 1..1 312s ok 8 - strict_basic 312s # Subtest: AND two result objects together 312s ok 1 - ANDing true and false results = invalid, but errors and annotations both preserved 312s ok 2 - ANDing two true results = valid 312s ok 3 - ANDing two false results = invalid 312s ok 4 - only Result objects can be processed 312s ok 5 - ANDing a result with itself is a no-op 312s 1..5 312s ok 9 - AND two result objects together 312s # Subtest: annotations 312s ok 1 - by default, annotations are included in the formatted output 312s ok 2 - but inclusion can be disabled 312s 1..2 312s ok 10 - annotations 312s # Subtest: data_only 312s ok 1 - data_only format outputs a string of data locations only, with duplicates removed 312s ok 2 - data_only format uses keyword locations when result came from traverse 312s 1..2 312s ok 11 - data_only 312s 1..11 312s ok 312s t/pattern.t ............................. 312s ok 1 - unchanged LATIN SMALL LETTER E WITH ACUTE does not match the ascii range [a-z] 312s ok 2 - unchanged LATIN SMALL LETTER E WITH ACUTE does match the "word" character class, because unicode semantics are used for matching 312s ok 3 - upgraded LATIN SMALL LETTER E WITH ACUTE does not match the ascii range [a-z] 312s ok 4 - upgraded LATIN SMALL LETTER E WITH ACUTE does match the "word" character class, because unicode semantics are used for matching 312s ok 5 - downgraded LATIN SMALL LETTER E WITH ACUTE does not match the ascii range [a-z] 312s ok 6 - downgraded LATIN SMALL LETTER E WITH ACUTE does match the "word" character class, because unicode semantics are used for matching 312s # Subtest: empty pattern 312s ok 1 - empty pattern in "pattern" will correctly match 312s ok 2 - empty pattern in "patternProperties" will correctly match 312s 1..2 312s ok 7 - empty pattern 312s 1..7 312s ok 313s t/ref.t ................................. 313s # Subtest: local JSON pointer 313s ok 1 - can follow local $ref to a true schema 313s ok 2 - can follow local $ref to a false schema 313s ok 3 - got error for unresolvable ref 313s ok 4 - no exception 313s 1..4 313s ok 1 - local JSON pointer 313s # Subtest: fragment with URI-escaped and JSON Pointer-escaped characters 313s ok 1 - can follow $ref with escaped components 313s 1..1 313s ok 2 - fragment with URI-escaped and JSON Pointer-escaped characters 313s # Subtest: local anchor 313s ok 1 - can follow local $ref to an $anchor to a true schema 313s ok 2 - can follow local $ref to an $anchor to a false schema 313s ok 3 - got error for unresolvable ref 313s ok 4 - no exception 313s 1..4 313s ok 3 - local anchor 313s # Subtest: $id with an empty fragment 313s ok 1 - $id with empty fragment can be found by $ref that did not include it; fragment not included in error either 313s 1..1 313s ok 4 - $id with an empty fragment 313s # Subtest: $recursiveRef without nesting behaves like $ref 313s ok 1 - $recursiveRef without nested $recursiveAnchor behaves like $ref 313s 1..1 313s ok 5 - $recursiveRef without nesting behaves like $ref 313s # Subtest: $recursiveRef without $recursiveAnchor behaves like $ref 313s ok 1 - $recursiveRef without $recursiveAnchor behaves like $ref 313s 1..1 313s ok 6 - $recursiveRef without $recursiveAnchor behaves like $ref 313s # Subtest: $recursiveAnchor must be at a schema resource root 313s ok 1 - $recursiveAnchor can only appear at a schema resource root 313s ok 2 - schema now valid when an $id is added 313s ok 3 - $recursiveAnchor can only appear at a schema resource root 313s ok 4 - properly detecting a bad $recursiveAnchor even before passing through a $ref 313s 1..4 313s ok 7 - $recursiveAnchor must be at a schema resource root 313s # Subtest: $recursiveAnchor and $recursiveRef - standard usecases 313s ok 1 - validation requires the override that is not in scope 313s ok 2 - $recursiveRef requires a $recursiveAnchor that does not exist 313s ok 3 - $recursiveRef with both $recursiveAnchors in scope 313s 1..3 313s ok 8 - $recursiveAnchor and $recursiveRef - standard usecases 313s # Subtest: $recursiveRef without $recursiveAnchor 313s ok 1 - $ref - one level recursion 313s ok 2 - $recursiveRef with no $recursiveAnchor in scope has the same outcome 313s 1..2 313s ok 9 - $recursiveRef without $recursiveAnchor 313s # Subtest: $recursiveAnchor in our dynamic scope, but not in the target schema 313s ok 1 - $recursiveAnchor does not exist in the target schema - local recursion only, so integers match 313s ok 2 - $recursiveAnchor does not exist in the target schema - no recursion 313s ok 3 - $recursiveAnchor does not exist in the target schema - local recursion only 313s 1..3 313s ok 10 - $recursiveAnchor in our dynamic scope, but not in the target schema 313s # Subtest: $dynamicRef without nesting behaves like $ref 313s ok 1 - $dynamicRef without nested $dynamicAnchor behaves like $ref 313s 1..1 313s ok 11 - $dynamicRef without nesting behaves like $ref 313s # Subtest: $recursiveRef without $dynamicAnchor behaves like $ref 313s ok 1 - $dynamicRef without $dynamicAnchor behaves like $ref 313s 1..1 313s ok 12 - $recursiveRef without $dynamicAnchor behaves like $ref 313s # Subtest: $dynamicAnchor and $dynamicRef - standard usecases 313s ok 1 - validation requires the override that is not in scope 313s ok 2 - $dynamicRef requires a $dynamicAnchor that does not exist 313s ok 3 - $dynamicRef must use a URI containing the dynamic anchor fragment 313s ok 4 - there is no outer $dynamicAnchor in scope to recurse to 313s ok 5 - we have an outer $dynamicAnchor, and are using the fragment URI, but we used $ref rather than $dynamicRef 313s ok 6 - there is an outer $dynamicAnchor in scope to recurse to, but $dynamicRef must use a URI containing the dynamic anchor fragment 313s ok 7 - now everything is in place to recurse to the base 313s ok 8 - there is no $dynamicAnchor at the original target, and no anchor used in the target URI 313s 1..8 313s ok 13 - $dynamicAnchor and $dynamicRef - standard usecases 313s # Subtest: $dynamicRef to $dynamicAnchor not directly in the evaluation path 313s ok 1 - second dynamic anchor is not in the evaluation path, but we found it via dynamic scope - type does not match 313s ok 2 - regular $anchor in dynamic scope should not be used by $dynamicRef 313s ok 3 - some other $dynamicAnchor in dynamic scope should not be used by $dynamicRef 313s ok 4 - second dynamic anchor is not in the evaluation path, but we found it via dynamic scope - type matches 313s ok 5 - the first dynamic scope is set by document uri, not just the $id keyword 313s 1..5 313s ok 14 - $dynamicRef to $dynamicAnchor not directly in the evaluation path 313s # Subtest: after leaving a dynamic scope, it should not be used by a $dynamicRef 313s ok 1 - first_scope is no longer in scope, so it is not used by $dynamicRef 313s 1..1 313s ok 15 - after leaving a dynamic scope, it should not be used by a $dynamicRef 313s # Subtest: anchors do not match 313s ok 1 - $dynamicRef goes to enhanced schema 313s ok 2 - $dynamicRef -> $dynamicAnchor -> $anchor is a no go: we stay at the original schema 313s 1..2 313s ok 16 - anchors do not match 313s # Subtest: reference to a non-schema location 313s ok 1 - $ref to a non-schema is not permitted 313s ok 2 - $dynamicRef to a non-schema is not permitted 313s ok 3 - $recursiveRef to a non-schema is not permitted 313s ok 4 - $schema to a non-schema is not permitted 313s 1..4 313s ok 17 - reference to a non-schema location 313s # Subtest: evaluate at a non-schema location 313s ok 1 - evaluating at a non-schema location is not permitted 313s 1..1 313s ok 18 - evaluate at a non-schema location 313s 1..18 313s ok 315s t/serialization.t ....................... 315s # Seeded srand with seed '20241116' from local date. 315s ok 1 - evaluated against an empty schema 315s ok 2 - evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations 315s ok 3 - evaluate data against schema with custom dialect; format-annotation is used 315s ok 4 - frozen object contains all the right keys 315s ok 5 - thawed object contains all the right keys 315s ok 6 - evaluate again against an empty schema 315s ok 7 - in thawed object, evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations 315s ok 8 - evaluate again against an empty schema 315s ok 9 - core vocabulary_class for a different spec version works in a thawed object 315s ok 10 - format-assertion vocabulary_class works in a thawed object 315s ok 11 - metaschema_vocabulary_classes works in a thawed object 315s ok 12 - media_type works in a thawed object 315s ok 13 - encoding works in a thawed object 315s # Subtest: thaw object in a separate process 315s ok 1 - thawed object in a new process contains all the right keys 315s ok 2 - in thawed object, evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations 315s ok 3 - evaluate data against schema with custom dialect; format-assertion is used 315s 1..3 315s ok 14 - thaw object in a separate process 315s ok 15 - child process finished successfully 315s 1..15 315s ok 316s t/specification_version.t ............... 316s ok 1 - unrecognized $SPECIFICATION_VERSION 316s # Subtest: specification aliases 316s ok 1 - 2020-12 is an alias for draft2020-12 316s ok 2 - 2019-09 is an alias for draft2019-09 316s ok 3 - 7 is an alias for draft7 316s 1..3 316s ok 2 - specification aliases 316s # Subtest: $ref and older specification versions 316s ok 1 - $schema and $ref cannot be used together, when $schema is too old 316s 1..1 316s ok 3 - $ref and older specification versions 316s # Subtest: <= draft7: $ref in combination with any other keyword causes the other keywords to be ignored 316s ok 1 - keywords adjacent to $ref are not evaluated 316s 1..1 316s ok 4 - <= draft7: $ref in combination with any other keyword causes the other keywords to be ignored 316s # Subtest: $ref adjacent to a path used in a $ref 316s ok 1 - the presence of $ref also blocks the use of other $refs to adjacent locations 316s 1..1 316s ok 5 - $ref adjacent to a path used in a $ref 316s # Subtest: $defs support 316s ok 1 - $defs is not recognized in <= draft7 316s ok 2 - $defs is supported in > draft7 316s 1..2 316s ok 6 - $defs support 316s # Subtest: definitions support 316s ok 1 - definitions is not recognized in >= draft2019-09 316s ok 2 - warned when using no-longer-supported keyword 316s ok 3 - definitions is supported in <= draft7 316s 1..3 316s ok 7 - definitions support 316s # Subtest: dependencies, dependentRequired, dependentSchemas 316s ok 1 - dependencies is not recognized in >= draft2019-09 316s ok 2 - warned when using no-longer-supported keyword 316s ok 3 - dependentRequired is supported in >= draft2019-09 316s ok 4 - dependentSchemas is supported in >= draft2019-09 316s ok 5 - dependencies is supported in <= draft7 316s ok 6 - dependentRequired is not recognized in <= draft7 316s ok 7 - dependentSchemas is not recognized in <= draft7 316s 1..7 316s ok 8 - dependencies, dependentRequired, dependentSchemas 316s # Subtest: prefixItems, items and additionalItems 316s ok 1 - prefixitems+items works when specification_version >= draft2020-12 316s ok 2 - array form of items not supported when specification_version >= draft2020-12 316s ok 3 - additionalitems not recognized when specification_version >= draft2020-12 316s ok 4 - warned when using no-longer-supported keyword 316s ok 5 - prefixitems not supported when specification_version specifies other than draft2020-12 316s ok 6 - array-based items in >= draft2020-12 316s ok 7 - prefixItems + additionalItems 316s ok 8 - warned when using no-longer-supported keyword 316s ok 9 - prefixItems + schema-based items 316s ok 10 - schema-based items + additionalItems, failure case 316s ok 11 - warned when using no-longer-supported keyword 316s ok 12 - schema-based items + additionalItems, passing case 316s ok 13 - warned when using no-longer-supported keyword 316s 1..13 316s ok 9 - prefixItems, items and additionalItems 316s 1..9 316s ok 317s t/strict.t .............................. 317s ok 1 - strict defaults to false 317s ok 2 - by default, unknown keywords are allowed in evaluate() 317s ok 3 - strict mode disallows unknown keywords during evaluation via a config override 317s ok 4 - by default, unknown keywords are allowed in validate_schema() 317s ok 5 - strict mode disallows unknown keywords in validate_schema() via a config override 317s ok 6 - strict mode disallows unknown keywords during evaluation, even if the document was already traversed 317s ok 7 - strict mode disallows unknown keywords in the schema data passed to validate_schema() 317s ok 8 - strict mode disallows unknown keywords during traverse 317s ok 9 - strict mode only detected one property this time - bloop is evaluated 317s ok 10 - strict mode detects unknown keywords using draft7 317s 1..10 317s ok 318s t/stringy-numbers.t ..................... 318s # stringy_numbers = 0 318s ok 1 - strings cannot be used in place of numbers in schema for multipleOf 318s ok 2 - strings cannot be used in place of numbers in schema for maximum 318s ok 3 - strings cannot be used in place of numbers in schema for exclusiveMaximum 318s ok 4 - strings cannot be used in place of numbers in schema for minimum 318s ok 5 - strings cannot be used in place of numbers in schema for exclusiveMinimum 318s ok 6 - strings that do not look like numbers are never valid as numbers 318s ok 7 - by default "type": "string" does not accept numbers 318s ok 8 - real numbers are always evaluated 318s ok 9 - by default, stringy numbers are not evaluated by numeric keywords 318s ok 10 - data was not mutated 318s ok 11 - by default, stringy numbers are not the same as numbers using comparison keywords 318s ok 12 - data was not mutated 318s # stringy_numbers = 1 318s ok 13 - strings cannot be used in place of numbers in schema for multipleOf 318s ok 14 - strings cannot be used in place of numbers in schema for maximum 318s ok 15 - strings cannot be used in place of numbers in schema for exclusiveMaximum 318s ok 16 - strings cannot be used in place of numbers in schema for minimum 318s ok 17 - strings cannot be used in place of numbers in schema for exclusiveMinimum 318s ok 18 - strings that do not look like numbers are never valid as numbers 318s ok 19 - using stringy numbers, numeric strings are treated as numbers but are still not always integers 318s ok 20 - real numbers are always evaluated 318s ok 21 - with the config enabled, stringy numbers are treated as numbers by numeric keywords 318s ok 22 - data was not mutated 318s ok 23 - with the config enabled, stringy numbers are the same as numbers using comparison keywords 318s ok 24 - data was not mutated 318s 1..24 318s ok 318s t/traverse.t ............................ 318s # Subtest: traversal with callbacks 318s ok 1 - errors encountered during traversal are returned 318s ok 2 - callback for erroneous keyword was not called 318s ok 3 - extracted all the real $refs out of the schema, with locations and canonical targets 318s ok 4 - identified all subschemas 318s 1..4 318s ok 1 - traversal with callbacks 318s # Subtest: errors when parsing $schema keyword 318s ok 1 - $schema is not a string 318s ok 2 - $schema is not a URI 318s 1..2 318s ok 2 - errors when parsing $schema keyword 318s # Subtest: default metaschema 318s ok 1 - dialect is properly determined 318s ok 2 - error within $defs is found, showing both Core and Applicator vocabularies are used 318s 1..2 318s ok 3 - default metaschema 318s # Subtest: traversing a dialect with different core keywords 318s ok 1 - dialect changes at root, with $id - dialect is switched in time to get a new keyword list for the core vocabulary 318s ok 2 - no errors when parsing this schema 318s ok 3 - switched dialect in time to extract all identifiers, from root and definition 318s ok 4 - dialect changes at root, no $id - dialect is switched in time to get a new keyword list for the core vocabulary 318s ok 5 - dialect changes below root - dialect is switched in time to get a new keyword list for the core vocabulary 318s 1..5 318s ok 4 - traversing a dialect with different core keywords 318s # Subtest: $schema without an $id, below the root 318s ok 1 - $schema cannot exist without an $id, or at the root 318s 1..1 318s ok 5 - $schema without an $id, below the root 318s # Subtest: traverse with overridden metaschema_uri 318s ok 1 - metaschema_uri is overridden with a bad schema: same errors are returned 318s ok 2 - metaschema_uri is overridden with a bad schema: errors contain the right locations 318s ok 3 - metaschema_uri is overridden with a bad schema and there is a traversal path: errors contain the right locations 318s ok 4 - determined vocabularies to use for this schema 318s 1..4 318s ok 6 - traverse with overridden metaschema_uri 318s # Subtest: start traversing below the document root 318s ok 1 - identified the overridden location of all errors during traverse 318s ok 2 - identifiers are correctly extracted when traversing below the document root 318s 1..2 318s ok 7 - start traversing below the document root 318s 1..7 318s ok 319s t/type.t ................................ 319s # Subtest: inflated data, type: array 319s ok 1 - is_type("array", []) is true 319s ok 2 - get_type([]) = array 319s ok 3 - is_type("boolean", []) is false 319s ok 4 - is_type("integer", []) is false 319s ok 5 - is_type("null", []) is false 319s ok 6 - is_type("number", []) is false 319s ok 7 - is_type("object", []) is false 319s ok 8 - is_type("string", []) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("array", [1]) is true 319s ok 11 - get_type([1]) = array 319s ok 12 - is_type("boolean", [1]) is false 319s ok 13 - is_type("integer", [1]) is false 319s ok 14 - is_type("null", [1]) is false 319s ok 15 - is_type("number", [1]) is false 319s ok 16 - is_type("object", [1]) is false 319s ok 17 - is_type("string", [1]) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s 1..18 319s ok 1 - inflated data, type: array 319s # Subtest: inflated data, type: boolean 319s ok 1 - is_type("boolean", false) is true 319s ok 2 - get_type(false) = boolean 319s ok 3 - is_type("array", false) is false 319s ok 4 - is_type("integer", false) is false 319s ok 5 - is_type("null", false) is false 319s ok 6 - is_type("number", false) is false 319s ok 7 - is_type("object", false) is false 319s ok 8 - is_type("string", false) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("boolean", true) is true 319s ok 11 - get_type(true) = boolean 319s ok 12 - is_type("array", true) is false 319s ok 13 - is_type("integer", true) is false 319s ok 14 - is_type("null", true) is false 319s ok 15 - is_type("number", true) is false 319s ok 16 - is_type("object", true) is false 319s ok 17 - is_type("string", true) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s 1..18 319s ok 2 - inflated data, type: boolean 319s # Subtest: inflated data, type: integer 319s ok 1 - is_type("integer", 0) is true 319s ok 2 - is_type("number", 0) is true 319s ok 3 - get_type(0) = integer 319s ok 4 - is_type("array", 0) is false 319s ok 5 - is_type("boolean", 0) is false 319s ok 6 - is_type("null", 0) is false 319s ok 7 - is_type("object", 0) is false 319s ok 8 - is_type("string", 0) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("integer", -1) is true 319s ok 11 - is_type("number", -1) is true 319s ok 12 - get_type(-1) = integer 319s ok 13 - is_type("array", -1) is false 319s ok 14 - is_type("boolean", -1) is false 319s ok 15 - is_type("null", -1) is false 319s ok 16 - is_type("object", -1) is false 319s ok 17 - is_type("string", -1) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s ok 19 - is_type("integer", 2) is true 319s ok 20 - is_type("number", 2) is true 319s ok 21 - get_type(2) = integer 319s ok 22 - is_type("array", 2) is false 319s ok 23 - is_type("boolean", 2) is false 319s ok 24 - is_type("null", 2) is false 319s ok 25 - is_type("object", 2) is false 319s ok 26 - is_type("string", 2) is false 319s ok 27 - data is not tampered with while it is tested (not dualvar) 319s ok 28 - is_type("integer", 2.0) is true 319s ok 29 - is_type("number", 2.0) is true 319s ok 30 - get_type(2.0) = integer 319s ok 31 - is_type("array", 2.0) is false 319s ok 32 - is_type("boolean", 2.0) is false 319s ok 33 - is_type("null", 2.0) is false 319s ok 34 - is_type("object", 2.0) is false 319s ok 35 - is_type("string", 2.0) is false 319s ok 36 - data is not tampered with while it is tested (not dualvar) 319s ok 37 - is_type("integer", 2147483647) is true 319s ok 38 - is_type("number", 2147483647) is true 319s ok 39 - get_type(2147483647) = integer 319s ok 40 - is_type("array", 2147483647) is false 319s ok 41 - is_type("boolean", 2147483647) is false 319s ok 42 - is_type("null", 2147483647) is false 319s ok 43 - is_type("object", 2147483647) is false 319s ok 44 - is_type("string", 2147483647) is false 319s ok 45 - data is not tampered with while it is tested (not dualvar) 319s ok 46 - is_type("integer", 2147483648.0) is true 319s ok 47 - is_type("number", 2147483648.0) is true 319s ok 48 - get_type(2147483648.0) = integer 319s ok 49 - is_type("array", 2147483648.0) is false 319s ok 50 - is_type("boolean", 2147483648.0) is false 319s ok 51 - is_type("null", 2147483648.0) is false 319s ok 52 - is_type("object", 2147483648.0) is false 319s ok 53 - is_type("string", 2147483648.0) is false 319s ok 54 - data is not tampered with while it is tested (not dualvar) 319s ok 55 - is_type("integer", 9.22337203685478e+18) is true 319s ok 56 - is_type("number", 9.22337203685478e+18) is true 319s ok 57 - get_type(9.22337203685478e+18) = integer 319s ok 58 - is_type("array", 9.22337203685478e+18) is false 319s ok 59 - is_type("boolean", 9.22337203685478e+18) is false 319s ok 60 - is_type("null", 9.22337203685478e+18) is false 319s ok 61 - is_type("object", 9.22337203685478e+18) is false 319s ok 62 - is_type("string", 9.22337203685478e+18) is false 319s ok 63 - data is not tampered with while it is tested (not dualvar) 319s ok 64 - is_type("integer", 9.22337203685478e+18) is true 319s ok 65 - is_type("number", 9.22337203685478e+18) is true 319s ok 66 - get_type(9.22337203685478e+18) = integer 319s ok 67 - is_type("array", 9.22337203685478e+18) is false 319s ok 68 - is_type("boolean", 9.22337203685478e+18) is false 319s ok 69 - is_type("null", 9.22337203685478e+18) is false 319s ok 70 - is_type("object", 9.22337203685478e+18) is false 319s ok 71 - is_type("string", 9.22337203685478e+18) is false 319s ok 72 - data is not tampered with while it is tested (not dualvar) 319s ok 73 - is_type("integer", 1.84467440737096e+19) is true 319s ok 74 - is_type("number", 1.84467440737096e+19) is true 319s ok 75 - get_type(1.84467440737096e+19) = integer 319s ok 76 - is_type("array", 1.84467440737096e+19) is false 319s ok 77 - is_type("boolean", 1.84467440737096e+19) is false 319s ok 78 - is_type("null", 1.84467440737096e+19) is false 319s ok 79 - is_type("object", 1.84467440737096e+19) is false 319s ok 80 - is_type("string", 1.84467440737096e+19) is false 319s ok 81 - data is not tampered with while it is tested (not dualvar) 319s ok 82 - is_type("integer", 3.68934881474191e+19) is true 319s ok 83 - is_type("number", 3.68934881474191e+19) is true 319s ok 84 - get_type(3.68934881474191e+19) = integer 319s ok 85 - is_type("array", 3.68934881474191e+19) is false 319s ok 86 - is_type("boolean", 3.68934881474191e+19) is false 319s ok 87 - is_type("null", 3.68934881474191e+19) is false 319s ok 88 - is_type("object", 3.68934881474191e+19) is false 319s ok 89 - is_type("string", 3.68934881474191e+19) is false 319s ok 90 - data is not tampered with while it is tested (not dualvar) 319s ok 91 - is_type("integer", 1000000000000000) is true 319s ok 92 - is_type("number", 1000000000000000) is true 319s ok 93 - get_type(1000000000000000) = integer 319s ok 94 - is_type("array", 1000000000000000) is false 319s ok 95 - is_type("boolean", 1000000000000000) is false 319s ok 96 - is_type("null", 1000000000000000) is false 319s ok 97 - is_type("object", 1000000000000000) is false 319s ok 98 - is_type("string", 1000000000000000) is false 319s ok 99 - data is not tampered with while it is tested (not dualvar) 319s ok 100 - is_type("integer", Math::BigInt->new('100000000000000000000')) is true 319s ok 101 - is_type("number", Math::BigInt->new('100000000000000000000')) is true 319s ok 102 - get_type(Math::BigInt->new('100000000000000000000')) = integer 319s ok 103 - is_type("array", Math::BigInt->new('100000000000000000000')) is false 319s ok 104 - is_type("boolean", Math::BigInt->new('100000000000000000000')) is false 319s ok 105 - is_type("null", Math::BigInt->new('100000000000000000000')) is false 319s ok 106 - is_type("object", Math::BigInt->new('100000000000000000000')) is false 319s ok 107 - is_type("string", Math::BigInt->new('100000000000000000000')) is false 319s ok 108 - data is not tampered with while it is tested (not dualvar) 319s 1..108 319s ok 3 - inflated data, type: integer 319s # Subtest: inflated data, type: null 319s ok 1 - is_type("null", null) is true 319s ok 2 - get_type(null) = null 319s ok 3 - is_type("array", null) is false 319s ok 4 - is_type("boolean", null) is false 319s ok 5 - is_type("integer", null) is false 319s ok 6 - is_type("number", null) is false 319s ok 7 - is_type("object", null) is false 319s ok 8 - is_type("string", null) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s 1..9 319s ok 4 - inflated data, type: null 319s # Subtest: inflated data, type: number 319s ok 1 - is_type("number", 3.1) is true 319s ok 2 - get_type(3.1) = number 319s ok 3 - is_type("array", 3.1) is false 319s ok 4 - is_type("boolean", 3.1) is false 319s ok 5 - is_type("integer", 3.1) is false 319s ok 6 - is_type("null", 3.1) is false 319s ok 7 - is_type("object", 3.1) is false 319s ok 8 - is_type("string", 3.1) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("number", 12345678901.2) is true 319s ok 11 - get_type(12345678901.2) = number 319s ok 12 - is_type("array", 12345678901.2) is false 319s ok 13 - is_type("boolean", 12345678901.2) is false 319s ok 14 - is_type("integer", 12345678901.2) is false 319s ok 15 - is_type("null", 12345678901.2) is false 319s ok 16 - is_type("object", 12345678901.2) is false 319s ok 17 - is_type("string", 12345678901.2) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s ok 19 - is_type("number", Math::BigFloat->new('0.123')) is true 319s ok 20 - get_type(Math::BigFloat->new('0.123')) = number 319s ok 21 - is_type("array", Math::BigFloat->new('0.123')) is false 319s ok 22 - is_type("boolean", Math::BigFloat->new('0.123')) is false 319s ok 23 - is_type("integer", Math::BigFloat->new('0.123')) is false 319s ok 24 - is_type("null", Math::BigFloat->new('0.123')) is false 319s ok 25 - is_type("object", Math::BigFloat->new('0.123')) is false 319s ok 26 - is_type("string", Math::BigFloat->new('0.123')) is false 319s ok 27 - data is not tampered with while it is tested (not dualvar) 319s 1..27 319s ok 5 - inflated data, type: number 319s # Subtest: inflated data, type: object 319s ok 1 - is_type("object", {}) is true 319s ok 2 - get_type({}) = object 319s ok 3 - is_type("array", {}) is false 319s ok 4 - is_type("boolean", {}) is false 319s ok 5 - is_type("integer", {}) is false 319s ok 6 - is_type("null", {}) is false 319s ok 7 - is_type("number", {}) is false 319s ok 8 - is_type("string", {}) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("object", {"a" : 1}) is true 319s ok 11 - get_type({"a" : 1}) = object 319s ok 12 - is_type("array", {"a" : 1}) is false 319s ok 13 - is_type("boolean", {"a" : 1}) is false 319s ok 14 - is_type("integer", {"a" : 1}) is false 319s ok 15 - is_type("null", {"a" : 1}) is false 319s ok 16 - is_type("number", {"a" : 1}) is false 319s ok 17 - is_type("string", {"a" : 1}) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s 1..18 319s ok 6 - inflated data, type: object 319s # Subtest: inflated data, type: string 319s ok 1 - is_type("string", "") is true 319s ok 2 - get_type("") = string 319s ok 3 - is_type("array", "") is false 319s ok 4 - is_type("boolean", "") is false 319s ok 5 - is_type("integer", "") is false 319s ok 6 - is_type("null", "") is false 319s ok 7 - is_type("number", "") is false 319s ok 8 - is_type("object", "") is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("string", "0") is true 319s ok 11 - get_type("0") = string 319s ok 12 - is_type("array", "0") is false 319s ok 13 - is_type("boolean", "0") is false 319s ok 14 - is_type("integer", "0") is false 319s ok 15 - is_type("null", "0") is false 319s ok 16 - is_type("number", "0") is false 319s ok 17 - is_type("object", "0") is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s ok 19 - is_type("string", "-1") is true 319s ok 20 - get_type("-1") = string 319s ok 21 - is_type("array", "-1") is false 319s ok 22 - is_type("boolean", "-1") is false 319s ok 23 - is_type("integer", "-1") is false 319s ok 24 - is_type("null", "-1") is false 319s ok 25 - is_type("number", "-1") is false 319s ok 26 - is_type("object", "-1") is false 319s ok 27 - data is not tampered with while it is tested (not dualvar) 319s ok 28 - is_type("string", "2") is true 319s ok 29 - get_type("2") = string 319s ok 30 - is_type("array", "2") is false 319s ok 31 - is_type("boolean", "2") is false 319s ok 32 - is_type("integer", "2") is false 319s ok 33 - is_type("null", "2") is false 319s ok 34 - is_type("number", "2") is false 319s ok 35 - is_type("object", "2") is false 319s ok 36 - data is not tampered with while it is tested (not dualvar) 319s ok 37 - is_type("string", "2.0") is true 319s ok 38 - get_type("2.0") = string 319s ok 39 - is_type("array", "2.0") is false 319s ok 40 - is_type("boolean", "2.0") is false 319s ok 41 - is_type("integer", "2.0") is false 319s ok 42 - is_type("null", "2.0") is false 319s ok 43 - is_type("number", "2.0") is false 319s ok 44 - is_type("object", "2.0") is false 319s ok 45 - data is not tampered with while it is tested (not dualvar) 319s ok 46 - is_type("string", "3.1") is true 319s ok 47 - get_type("3.1") = string 319s ok 48 - is_type("array", "3.1") is false 319s ok 49 - is_type("boolean", "3.1") is false 319s ok 50 - is_type("integer", "3.1") is false 319s ok 51 - is_type("null", "3.1") is false 319s ok 52 - is_type("number", "3.1") is false 319s ok 53 - is_type("object", "3.1") is false 319s ok 54 - data is not tampered with while it is tested (not dualvar) 319s ok 55 - is_type("string", "école") is true 319s ok 56 - get_type("école") = string 319s ok 57 - is_type("array", "école") is false 319s ok 58 - is_type("boolean", "école") is false 319s ok 59 - is_type("integer", "école") is false 319s ok 60 - is_type("null", "école") is false 319s ok 61 - is_type("number", "école") is false 319s ok 62 - is_type("object", "école") is false 319s ok 63 - data is not tampered with while it is tested (not dualvar) 319s ok 64 - is_type("string", "ಠ_ಠ") is true 319s ok 65 - get_type("ಠ_ಠ") = string 319s ok 66 - is_type("array", "ಠ_ಠ") is false 319s ok 67 - is_type("boolean", "ಠ_ಠ") is false 319s ok 68 - is_type("integer", "ಠ_ಠ") is false 319s ok 69 - is_type("null", "ಠ_ಠ") is false 319s ok 70 - is_type("number", "ಠ_ಠ") is false 319s ok 71 - is_type("object", "ಠ_ಠ") is false 319s ok 72 - data is not tampered with while it is tested (not dualvar) 319s 1..72 319s ok 7 - inflated data, type: string 319s # Subtest: JSON-encoded data, type: array 319s ok 1 - is_type("array", []) is true 319s ok 2 - get_type([]) = array 319s ok 3 - is_type("boolean", []) is false 319s ok 4 - is_type("integer", []) is false 319s ok 5 - is_type("null", []) is false 319s ok 6 - is_type("number", []) is false 319s ok 7 - is_type("object", []) is false 319s ok 8 - is_type("string", []) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("array", [1]) is true 319s ok 11 - get_type([1]) = array 319s ok 12 - is_type("boolean", [1]) is false 319s ok 13 - is_type("integer", [1]) is false 319s ok 14 - is_type("null", [1]) is false 319s ok 15 - is_type("number", [1]) is false 319s ok 16 - is_type("object", [1]) is false 319s ok 17 - is_type("string", [1]) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s 1..18 319s ok 8 - JSON-encoded data, type: array 319s # Subtest: JSON-encoded data, type: boolean 319s ok 1 - is_type("boolean", false) is true 319s ok 2 - get_type(false) = boolean 319s ok 3 - is_type("array", false) is false 319s ok 4 - is_type("integer", false) is false 319s ok 5 - is_type("null", false) is false 319s ok 6 - is_type("number", false) is false 319s ok 7 - is_type("object", false) is false 319s ok 8 - is_type("string", false) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("boolean", true) is true 319s ok 11 - get_type(true) = boolean 319s ok 12 - is_type("array", true) is false 319s ok 13 - is_type("integer", true) is false 319s ok 14 - is_type("null", true) is false 319s ok 15 - is_type("number", true) is false 319s ok 16 - is_type("object", true) is false 319s ok 17 - is_type("string", true) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s 1..18 319s ok 9 - JSON-encoded data, type: boolean 319s # Subtest: JSON-encoded data, type: integer 319s ok 1 - is_type("integer", 0) is true 319s ok 2 - is_type("number", 0) is true 319s ok 3 - get_type(0) = integer 319s ok 4 - is_type("array", 0) is false 319s ok 5 - is_type("boolean", 0) is false 319s ok 6 - is_type("null", 0) is false 319s ok 7 - is_type("object", 0) is false 319s ok 8 - is_type("string", 0) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("integer", -1) is true 319s ok 11 - is_type("number", -1) is true 319s ok 12 - get_type(-1) = integer 319s ok 13 - is_type("array", -1) is false 319s ok 14 - is_type("boolean", -1) is false 319s ok 15 - is_type("null", -1) is false 319s ok 16 - is_type("object", -1) is false 319s ok 17 - is_type("string", -1) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s ok 19 - is_type("integer", Math::BigFloat->new('2')) is true 319s ok 20 - is_type("number", Math::BigFloat->new('2')) is true 319s ok 21 - get_type(Math::BigFloat->new('2')) = integer 319s ok 22 - is_type("array", Math::BigFloat->new('2')) is false 319s ok 23 - is_type("boolean", Math::BigFloat->new('2')) is false 319s ok 24 - is_type("null", Math::BigFloat->new('2')) is false 319s ok 25 - is_type("object", Math::BigFloat->new('2')) is false 319s ok 26 - is_type("string", Math::BigFloat->new('2')) is false 319s ok 27 - data is not tampered with while it is tested (not dualvar) 319s ok 28 - is_type("integer", 2147483647) is true 319s ok 29 - is_type("number", 2147483647) is true 319s ok 30 - get_type(2147483647) = integer 319s ok 31 - is_type("array", 2147483647) is false 319s ok 32 - is_type("boolean", 2147483647) is false 319s ok 33 - is_type("null", 2147483647) is false 319s ok 34 - is_type("object", 2147483647) is false 319s ok 35 - is_type("string", 2147483647) is false 319s ok 36 - data is not tampered with while it is tested (not dualvar) 319s ok 37 - is_type("integer", 2147483648) is true 319s ok 38 - is_type("number", 2147483648) is true 319s ok 39 - get_type(2147483648) = integer 319s ok 40 - is_type("array", 2147483648) is false 319s ok 41 - is_type("boolean", 2147483648) is false 319s ok 42 - is_type("null", 2147483648) is false 319s ok 43 - is_type("object", 2147483648) is false 319s ok 44 - is_type("string", 2147483648) is false 319s ok 45 - data is not tampered with while it is tested (not dualvar) 319s ok 46 - is_type("integer", Math::BigFloat->new('9223372036854780000')) is true 319s ok 47 - is_type("number", Math::BigFloat->new('9223372036854780000')) is true 319s ok 48 - get_type(Math::BigFloat->new('9223372036854780000')) = integer 319s ok 49 - is_type("array", Math::BigFloat->new('9223372036854780000')) is false 319s ok 50 - is_type("boolean", Math::BigFloat->new('9223372036854780000')) is false 319s ok 51 - is_type("null", Math::BigFloat->new('9223372036854780000')) is false 319s ok 52 - is_type("object", Math::BigFloat->new('9223372036854780000')) is false 319s ok 53 - is_type("string", Math::BigFloat->new('9223372036854780000')) is false 319s ok 54 - data is not tampered with while it is tested (not dualvar) 319s ok 55 - is_type("integer", Math::BigFloat->new('9223372036854780000')) is true 319s ok 56 - is_type("number", Math::BigFloat->new('9223372036854780000')) is true 319s ok 57 - get_type(Math::BigFloat->new('9223372036854780000')) = integer 319s ok 58 - is_type("array", Math::BigFloat->new('9223372036854780000')) is false 319s ok 59 - is_type("boolean", Math::BigFloat->new('9223372036854780000')) is false 319s ok 60 - is_type("null", Math::BigFloat->new('9223372036854780000')) is false 319s ok 61 - is_type("object", Math::BigFloat->new('9223372036854780000')) is false 319s ok 62 - is_type("string", Math::BigFloat->new('9223372036854780000')) is false 319s ok 63 - data is not tampered with while it is tested (not dualvar) 319s ok 64 - is_type("integer", Math::BigFloat->new('18446744073709600000')) is true 319s ok 65 - is_type("number", Math::BigFloat->new('18446744073709600000')) is true 319s ok 66 - get_type(Math::BigFloat->new('18446744073709600000')) = integer 319s ok 67 - is_type("array", Math::BigFloat->new('18446744073709600000')) is false 319s ok 68 - is_type("boolean", Math::BigFloat->new('18446744073709600000')) is false 319s ok 69 - is_type("null", Math::BigFloat->new('18446744073709600000')) is false 319s ok 70 - is_type("object", Math::BigFloat->new('18446744073709600000')) is false 319s ok 71 - is_type("string", Math::BigFloat->new('18446744073709600000')) is false 319s ok 72 - data is not tampered with while it is tested (not dualvar) 319s ok 73 - is_type("integer", Math::BigFloat->new('36893488147419100000')) is true 319s ok 74 - is_type("number", Math::BigFloat->new('36893488147419100000')) is true 319s ok 75 - get_type(Math::BigFloat->new('36893488147419100000')) = integer 319s ok 76 - is_type("array", Math::BigFloat->new('36893488147419100000')) is false 319s ok 77 - is_type("boolean", Math::BigFloat->new('36893488147419100000')) is false 319s ok 78 - is_type("null", Math::BigFloat->new('36893488147419100000')) is false 319s ok 79 - is_type("object", Math::BigFloat->new('36893488147419100000')) is false 319s ok 80 - is_type("string", Math::BigFloat->new('36893488147419100000')) is false 319s ok 81 - data is not tampered with while it is tested (not dualvar) 319s ok 82 - is_type("integer", 1000000000000000) is true 319s ok 83 - is_type("number", 1000000000000000) is true 319s ok 84 - get_type(1000000000000000) = integer 319s ok 85 - is_type("array", 1000000000000000) is false 319s ok 86 - is_type("boolean", 1000000000000000) is false 319s ok 87 - is_type("null", 1000000000000000) is false 319s ok 88 - is_type("object", 1000000000000000) is false 319s ok 89 - is_type("string", 1000000000000000) is false 319s ok 90 - data is not tampered with while it is tested (not dualvar) 319s 1..90 319s ok 10 - JSON-encoded data, type: integer 319s # Subtest: JSON-encoded data, type: null 319s ok 1 - is_type("null", null) is true 319s ok 2 - get_type(null) = null 319s ok 3 - is_type("array", null) is false 319s ok 4 - is_type("boolean", null) is false 319s ok 5 - is_type("integer", null) is false 319s ok 6 - is_type("number", null) is false 319s ok 7 - is_type("object", null) is false 319s ok 8 - is_type("string", null) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s 1..9 319s ok 11 - JSON-encoded data, type: null 319s # Subtest: JSON-encoded data, type: number 319s ok 1 - is_type("number", Math::BigFloat->new('3.1')) is true 319s ok 2 - get_type(Math::BigFloat->new('3.1')) = number 319s ok 3 - is_type("array", Math::BigFloat->new('3.1')) is false 319s ok 4 - is_type("boolean", Math::BigFloat->new('3.1')) is false 319s ok 5 - is_type("integer", Math::BigFloat->new('3.1')) is false 319s ok 6 - is_type("null", Math::BigFloat->new('3.1')) is false 319s ok 7 - is_type("object", Math::BigFloat->new('3.1')) is false 319s ok 8 - is_type("string", Math::BigFloat->new('3.1')) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("number", Math::BigFloat->new('12345678901.2')) is true 319s ok 11 - get_type(Math::BigFloat->new('12345678901.2')) = number 319s ok 12 - is_type("array", Math::BigFloat->new('12345678901.2')) is false 319s ok 13 - is_type("boolean", Math::BigFloat->new('12345678901.2')) is false 319s ok 14 - is_type("integer", Math::BigFloat->new('12345678901.2')) is false 319s ok 15 - is_type("null", Math::BigFloat->new('12345678901.2')) is false 319s ok 16 - is_type("object", Math::BigFloat->new('12345678901.2')) is false 319s ok 17 - is_type("string", Math::BigFloat->new('12345678901.2')) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s 1..18 319s ok 12 - JSON-encoded data, type: number 319s # Subtest: JSON-encoded data, type: object 319s ok 1 - is_type("object", {}) is true 319s ok 2 - get_type({}) = object 319s ok 3 - is_type("array", {}) is false 319s ok 4 - is_type("boolean", {}) is false 319s ok 5 - is_type("integer", {}) is false 319s ok 6 - is_type("null", {}) is false 319s ok 7 - is_type("number", {}) is false 319s ok 8 - is_type("string", {}) is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("object", {"a" : 1}) is true 319s ok 11 - get_type({"a" : 1}) = object 319s ok 12 - is_type("array", {"a" : 1}) is false 319s ok 13 - is_type("boolean", {"a" : 1}) is false 319s ok 14 - is_type("integer", {"a" : 1}) is false 319s ok 15 - is_type("null", {"a" : 1}) is false 319s ok 16 - is_type("number", {"a" : 1}) is false 319s ok 17 - is_type("string", {"a" : 1}) is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s 1..18 319s ok 13 - JSON-encoded data, type: object 319s # Subtest: JSON-encoded data, type: string 319s ok 1 - is_type("string", "") is true 319s ok 2 - get_type("") = string 319s ok 3 - is_type("array", "") is false 319s ok 4 - is_type("boolean", "") is false 319s ok 5 - is_type("integer", "") is false 319s ok 6 - is_type("null", "") is false 319s ok 7 - is_type("number", "") is false 319s ok 8 - is_type("object", "") is false 319s ok 9 - data is not tampered with while it is tested (not dualvar) 319s ok 10 - is_type("string", "0") is true 319s ok 11 - get_type("0") = string 319s ok 12 - is_type("array", "0") is false 319s ok 13 - is_type("boolean", "0") is false 319s ok 14 - is_type("integer", "0") is false 319s ok 15 - is_type("null", "0") is false 319s ok 16 - is_type("number", "0") is false 319s ok 17 - is_type("object", "0") is false 319s ok 18 - data is not tampered with while it is tested (not dualvar) 319s ok 19 - is_type("string", "-1") is true 319s ok 20 - get_type("-1") = string 319s ok 21 - is_type("array", "-1") is false 319s ok 22 - is_type("boolean", "-1") is false 319s ok 23 - is_type("integer", "-1") is false 319s ok 24 - is_type("null", "-1") is false 319s ok 25 - is_type("number", "-1") is false 319s ok 26 - is_type("object", "-1") is false 319s ok 27 - data is not tampered with while it is tested (not dualvar) 319s ok 28 - is_type("string", "2.0") is true 319s ok 29 - get_type("2.0") = string 319s ok 30 - is_type("array", "2.0") is false 319s ok 31 - is_type("boolean", "2.0") is false 319s ok 32 - is_type("integer", "2.0") is false 319s ok 33 - is_type("null", "2.0") is false 319s ok 34 - is_type("number", "2.0") is false 319s ok 35 - is_type("object", "2.0") is false 319s ok 36 - data is not tampered with while it is tested (not dualvar) 319s ok 37 - is_type("string", "3.1") is true 319s ok 38 - get_type("3.1") = string 319s ok 39 - is_type("array", "3.1") is false 319s ok 40 - is_type("boolean", "3.1") is false 319s ok 41 - is_type("integer", "3.1") is false 319s ok 42 - is_type("null", "3.1") is false 319s ok 43 - is_type("number", "3.1") is false 319s ok 44 - is_type("object", "3.1") is false 319s ok 45 - data is not tampered with while it is tested (not dualvar) 319s ok 46 - is_type("string", "école") is true 319s ok 47 - get_type("école") = string 319s ok 48 - is_type("array", "école") is false 319s ok 49 - is_type("boolean", "école") is false 319s ok 50 - is_type("integer", "école") is false 319s ok 51 - is_type("null", "école") is false 319s ok 52 - is_type("number", "école") is false 319s ok 53 - is_type("object", "école") is false 319s ok 54 - data is not tampered with while it is tested (not dualvar) 319s ok 55 - is_type("string", "ಠ_ಠ") is true 319s ok 56 - get_type("ಠ_ಠ") = string 319s ok 57 - is_type("array", "ಠ_ಠ") is false 319s ok 58 - is_type("boolean", "ಠ_ಠ") is false 319s ok 59 - is_type("integer", "ಠ_ಠ") is false 319s ok 60 - is_type("null", "ಠ_ಠ") is false 319s ok 61 - is_type("number", "ಠ_ಠ") is false 319s ok 62 - is_type("object", "ಠ_ಠ") is false 319s ok 63 - data is not tampered with while it is tested (not dualvar) 319s 1..63 319s ok 14 - JSON-encoded data, type: string 319s # Subtest: type: integers and numbers 319s ok 1 - is_type('integer', 1) is true 319s ok 2 - is_type('integer', -2.0) is true 319s ok 3 - is_type('integer', 9.22337203685478e+24) is true 319s ok 4 - is_type('integer', 1) is true 319s ok 5 - is_type('integer', -2) is true 319s ok 6 - is_type('integer', Math::BigFloat->new('9223372036854780000000000')) is true 319s ok 7 - get_type(1) is integer 319s ok 8 - get_type(-2.0) is integer 319s ok 9 - get_type(9.22337203685478e+24) is integer 319s ok 10 - get_type(1) is integer 319s ok 11 - get_type(-2) is integer 319s ok 12 - get_type(Math::BigFloat->new('9223372036854780000000000')) is integer 319s ok 13 - is_type('number', 1) is true 319s ok 14 - is_type('number', -2.0) is true 319s ok 15 - is_type('number', 9.22337203685478e+24) is true 319s ok 16 - is_type('number', -2.1) is true 319s ok 17 - is_type('number', 1) is true 319s ok 18 - is_type('number', -2) is true 319s ok 19 - is_type('number', Math::BigFloat->new('9223372036854780000000000')) is true 319s ok 20 - is_type('number', Math::BigFloat->new('-2.1')) is true 319s ok 21 - get_type(-2.1) is number 319s ok 22 - get_type(Math::BigFloat->new('-2.1')) is number 319s ok 23 - is_type('integer', "1") is false 319s ok 24 - is_type('integer', "2.0") is false 319s ok 25 - is_type('integer', 3.1) is false 319s ok 26 - is_type('integer', "4.2") is false 319s ok 27 - is_type('integer', "1") is false 319s ok 28 - is_type('integer', "2.0") is false 319s ok 29 - is_type('integer', Math::BigFloat->new('3.1')) is false 319s ok 30 - is_type('integer', "4.2") is false 319s ok 31 - get_type("1") is not integer 319s ok 32 - get_type("2.0") is not integer 319s ok 33 - get_type(3.1) is not integer 319s ok 34 - get_type("4.2") is not integer 319s ok 35 - get_type("1") is not integer 319s ok 36 - get_type("2.0") is not integer 319s ok 37 - get_type(Math::BigFloat->new('3.1')) is not integer 319s ok 38 - get_type("4.2") is not integer 319s 1..38 319s ok 15 - type: integers and numbers 319s # Subtest: type: integers and numbers in draft4 319s ok 1 - is_type('integer', 1, { legacy_ints => 1 }) is true 319s ok 2 - is_type('integer', 1, { legacy_ints => 1 }) is true 319s ok 3 - get_type(1, { legacy_ints => 1 }) is integer 319s ok 4 - get_type(1, { legacy_ints => 1 }) is integer 319s ok 5 - is_type('number', 1, { legacy_ints => 1 }) is true 319s ok 6 - is_type('number', 2.0, { legacy_ints => 1 }) is true 319s ok 7 - is_type('number', -2.1, { legacy_ints => 1 }) is true 319s ok 8 - is_type('number', 1, { legacy_ints => 1 }) is true 319s ok 9 - is_type('number', Math::BigFloat->new('2'), { legacy_ints => 1 }) is true 319s ok 10 - is_type('number', Math::BigFloat->new('-2.1'), { legacy_ints => 1 }) is true 319s ok 11 - is_type('number', Math::BigInt->new('9223372036854775800000008'), { legacy_ints => 1 }) is true 319s ok 12 - get_type(2.0, { legacy_ints => 1 }) is number 319s ok 13 - get_type(-2.1, { legacy_ints => 1 }) is number 319s ok 14 - get_type(Math::BigFloat->new('2'), { legacy_ints => 1 }) is number 319s ok 15 - get_type(Math::BigFloat->new('-2.1'), { legacy_ints => 1 }) is number 319s ok 16 - get_type(Math::BigInt->new('9223372036854775800000008'), { legacy_ints => 1 }) is number 319s ok 17 - is_type('integer', "1", { legacy_ints => 1 }) is false 319s ok 18 - is_type('integer', "2.0", { legacy_ints => 1 }) is false 319s ok 19 - is_type('integer', 3.1, { legacy_ints => 1 }) is false 319s ok 20 - is_type('integer', "4.2", { legacy_ints => 1 }) is false 319s ok 21 - is_type('integer', "1", { legacy_ints => 1 }) is false 319s ok 22 - is_type('integer', "2.0", { legacy_ints => 1 }) is false 319s ok 23 - is_type('integer', Math::BigFloat->new('3.1'), { legacy_ints => 1 }) is false 319s ok 24 - is_type('integer', "4.2", { legacy_ints => 1 }) is false 319s ok 25 - get_type("1", { legacy_ints => 1 }) is not integer 319s ok 26 - get_type("2.0", { legacy_ints => 1 }) is not integer 319s ok 27 - get_type(3.1, { legacy_ints => 1 }) is not integer 319s ok 28 - get_type("4.2", { legacy_ints => 1 }) is not integer 319s ok 29 - get_type("1", { legacy_ints => 1 }) is not integer 319s ok 30 - get_type("2.0", { legacy_ints => 1 }) is not integer 319s ok 31 - get_type(Math::BigFloat->new('3.1'), { legacy_ints => 1 }) is not integer 319s ok 32 - get_type("4.2", { legacy_ints => 1 }) is not integer 319s 1..32 319s ok 16 - type: integers and numbers in draft4 319s ok 17 - non-existent type does not result in exception 319s # Subtest: ambiguous types 319s ok 1 - dualvars are ambiguous 319s ok 2 # skip on perls >= 5.35.9, reading the string form of an integer value no longer sets the flag SVf_POK 319s 1..2 319s ok 18 - ambiguous types 319s # Subtest: is_type and get_type for references 319s ok 1 - reference to SCALAR type is reported without exception 319s ok 2 - value is a reference to SCALAR 319s ok 3 - value is not a null 319s ok 4 - value is not a object 319s ok 5 - value is not a array 319s ok 6 - value is not a boolean 319s ok 7 - value is not a string 319s ok 8 - value is not a number 319s ok 9 - value is not a integer 319s ok 10 - reference to REF type is reported without exception 319s ok 11 - value is a reference to REF 319s ok 12 - value is not a null 319s ok 13 - value is not a object 319s ok 14 - value is not a array 319s ok 15 - value is not a boolean 319s ok 16 - value is not a string 319s ok 17 - value is not a number 319s ok 18 - value is not a integer 319s ok 19 - reference to CODE type is reported without exception 319s ok 20 - value is a reference to CODE 319s ok 21 - value is not a null 319s ok 22 - value is not a object 319s ok 23 - value is not a array 319s ok 24 - value is not a boolean 319s ok 25 - value is not a string 319s ok 26 - value is not a number 319s ok 27 - value is not a integer 319s ok 28 - reference to GLOB type is reported without exception 319s ok 29 - value is a reference to GLOB 319s ok 30 - value is not a null 319s ok 31 - value is not a object 319s ok 32 - value is not a array 319s ok 33 - value is not a boolean 319s ok 34 - value is not a string 319s ok 35 - value is not a number 319s ok 36 - value is not a integer 319s ok 37 - reference to LVALUE type is reported without exception 319s ok 38 - value is a reference to LVALUE 319s ok 39 - value is not a null 319s ok 40 - value is not a object 319s ok 41 - value is not a array 319s ok 42 - value is not a boolean 319s ok 43 - value is not a string 319s ok 44 - value is not a number 319s ok 45 - value is not a integer 319s ok 46 - reference to VSTRING type is reported without exception 319s ok 47 - value is a reference to VSTRING 319s ok 48 - value is not a null 319s ok 49 - value is not a object 319s ok 50 - value is not a array 319s ok 51 - value is not a boolean 319s ok 52 - value is not a string 319s ok 53 - value is not a number 319s ok 54 - value is not a integer 319s ok 55 - Regexp type is reported without exception 319s ok 56 - value is a Regexp 319s ok 57 - value is not a null 319s ok 58 - value is not a object 319s ok 59 - value is not a array 319s ok 60 - value is not a boolean 319s ok 61 - value is not a string 319s ok 62 - value is not a number 319s ok 63 - value is not a integer 319s ok 64 - IO::File type is reported without exception 319s ok 65 - value is a IO::File 319s ok 66 - value is not a null 319s ok 67 - value is not a object 319s ok 68 - value is not a array 319s ok 69 - value is not a boolean 319s ok 70 - value is not a string 319s ok 71 - value is not a number 319s ok 72 - value is not a integer 319s ok 73 - Foo type is reported without exception 319s ok 74 - value is a Foo 319s ok 75 - value is not a null 319s ok 76 - value is not a object 319s ok 77 - value is not a array 319s ok 78 - value is not a boolean 319s ok 79 - value is not a string 319s ok 80 - value is not a number 319s ok 81 - value is not a integer 319s 1..81 319s ok 19 - is_type and get_type for references 319s 1..19 319s ok 319s t/unsupported-keywords.t ................ 319s # 319s # draft7 319s ok 1 - schema with "id" still validates in draft7 319s ok 2 - warned for "id" in draft7 319s ok 3 - schema with "definitions" validates in draft7 319s ok 4 - did not warn for "definitions" in draft7 319s ok 5 - schema with "dependencies" validates in draft7 319s ok 6 - did not warn for "dependencies" in draft7 319s # 319s # draft2019-09 319s ok 7 - schema with "id" still validates in draft2019-09 319s ok 8 - warned for "id" in draft2019-09 319s ok 9 - schema with "definitions" still validates in draft2019-09 319s ok 10 - warned for "definitions" in draft2019-09 319s ok 11 - schema with "dependencies" still validates in draft2019-09 319s ok 12 - warned for "dependencies" in draft2019-09 319s 1..12 319s ok 320s t/validate-schema.t ..................... 320s ok 1 - validate_schema on simple schema with no $schema keyword 320s ok 2 - validate_schema on schema with metaschema $schema keyword 320s ok 3 - validate_schema with custom metaschema 320s 1..3 320s ok 320s t/vocabularies.t ........................ 320s # Subtest: valid keywords 320s ok 1 - draft4, Applicator: calculated keyword list matches hardcoded table 320s ok 2 - draft4, Core: calculated keyword list matches hardcoded table 320s ok 3 - draft4, FormatAnnotation: calculated keyword list matches hardcoded table 320s ok 4 - draft4, MetaData: calculated keyword list matches hardcoded table 320s ok 5 - draft4, Validation: calculated keyword list matches hardcoded table 320s ok 6 - draft6, Applicator: calculated keyword list matches hardcoded table 320s ok 7 - draft6, Core: calculated keyword list matches hardcoded table 320s ok 8 - draft6, FormatAnnotation: calculated keyword list matches hardcoded table 320s ok 9 - draft6, MetaData: calculated keyword list matches hardcoded table 320s ok 10 - draft6, Validation: calculated keyword list matches hardcoded table 320s ok 11 - draft7, Applicator: calculated keyword list matches hardcoded table 320s ok 12 - draft7, Content: calculated keyword list matches hardcoded table 320s ok 13 - draft7, Core: calculated keyword list matches hardcoded table 320s ok 14 - draft7, FormatAnnotation: calculated keyword list matches hardcoded table 320s ok 15 - draft7, MetaData: calculated keyword list matches hardcoded table 320s ok 16 - draft7, Validation: calculated keyword list matches hardcoded table 320s ok 17 - draft2019-09, Applicator: calculated keyword list matches hardcoded table 320s ok 18 - draft2019-09, Content: calculated keyword list matches hardcoded table 320s ok 19 - draft2019-09, Core: calculated keyword list matches hardcoded table 320s ok 20 - draft2019-09, FormatAnnotation: calculated keyword list matches hardcoded table 320s ok 21 - draft2019-09, MetaData: calculated keyword list matches hardcoded table 320s ok 22 - draft2019-09, Validation: calculated keyword list matches hardcoded table 320s ok 23 - draft2020-12, Applicator: calculated keyword list matches hardcoded table 320s ok 24 - draft2020-12, Content: calculated keyword list matches hardcoded table 320s ok 25 - draft2020-12, Core: calculated keyword list matches hardcoded table 320s ok 26 - draft2020-12, FormatAnnotation: calculated keyword list matches hardcoded table 320s ok 27 - draft2020-12, MetaData: calculated keyword list matches hardcoded table 320s ok 28 - draft2020-12, Unevaluated: calculated keyword list matches hardcoded table 320s ok 29 - draft2020-12, Validation: calculated keyword list matches hardcoded table 320s 1..29 320s ok 1 - valid keywords 320s 1..1 320s ok 323s t/zzz-acceptance-draft2019-09-format.t .. 323s # AUTHOR_TESTING: 323s # AUTOMATED_TESTING: 1 323s # EXTENDED_TESTING: 323s # NO_TODO: 323s # TEST_DIR: 323s # NO_SHORT_CIRCUIT: 323s # 323s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2019-09/optional/format against draft2019-09... 323s # 323s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date-time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 26 - date.json: "validation of date strings" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 27 - date.json: "validation of date strings" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 28 - date.json: "validation of date strings" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 29 - date.json: "validation of date strings" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 30 - date.json: "validation of date strings" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 31 - date.json: "validation of date strings" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 32 - date.json: "validation of date strings" - "a valid date string" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 33 - date.json: "validation of date strings" - "a valid date string with 31 days in January" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 34 - date.json: "validation of date strings" - "a invalid date string with 32 days in January" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 35 - date.json: "validation of date strings" - "a valid date string with 28 days in February (normal)" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 36 - date.json: "validation of date strings" - "a invalid date string with 29 days in February (normal)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 37 - date.json: "validation of date strings" - "a valid date string with 29 days in February (leap)" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 38 - date.json: "validation of date strings" - "a invalid date string with 30 days in February (leap)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 39 - date.json: "validation of date strings" - "a valid date string with 31 days in March" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 40 - date.json: "validation of date strings" - "a invalid date string with 32 days in March" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 41 - date.json: "validation of date strings" - "a valid date string with 30 days in April" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 42 - date.json: "validation of date strings" - "a invalid date string with 31 days in April" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 43 - date.json: "validation of date strings" - "a valid date string with 31 days in May" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 44 - date.json: "validation of date strings" - "a invalid date string with 32 days in May" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 45 - date.json: "validation of date strings" - "a valid date string with 30 days in June" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 46 - date.json: "validation of date strings" - "a invalid date string with 31 days in June" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 47 - date.json: "validation of date strings" - "a valid date string with 31 days in July" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 48 - date.json: "validation of date strings" - "a invalid date string with 32 days in July" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 49 - date.json: "validation of date strings" - "a valid date string with 31 days in August" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 50 - date.json: "validation of date strings" - "a invalid date string with 32 days in August" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 51 - date.json: "validation of date strings" - "a valid date string with 30 days in September" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 52 - date.json: "validation of date strings" - "a invalid date string with 31 days in September" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 53 - date.json: "validation of date strings" - "a valid date string with 31 days in October" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 54 - date.json: "validation of date strings" - "a invalid date string with 32 days in October" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 55 - date.json: "validation of date strings" - "a valid date string with 30 days in November" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 56 - date.json: "validation of date strings" - "a invalid date string with 31 days in November" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 57 - date.json: "validation of date strings" - "a valid date string with 31 days in December" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 58 - date.json: "validation of date strings" - "a invalid date string with 32 days in December" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 59 - date.json: "validation of date strings" - "a invalid date string with invalid month" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 60 - date.json: "validation of date strings" - "an invalid date string" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 61 - date.json: "validation of date strings" - "only RFC3339 not all of ISO 8601 are valid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 62 - date.json: "validation of date strings" - "non-padded month dates are not valid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 63 - date.json: "validation of date strings" - "non-padded day dates are not valid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 64 - date.json: "validation of date strings" - "invalid month" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 65 - date.json: "validation of date strings" - "invalid month-day combination" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 66 - date.json: "validation of date strings" - "2021 is not a leap year" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 67 - date.json: "validation of date strings" - "2020 is a leap year" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 68 - date.json: "validation of date strings" - "invalid non-ASCII '৪' (a Bengali 4)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 69 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 70 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 71 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 72 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid date", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 73 - duration.json: "validation of duration strings" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 74 - duration.json: "validation of duration strings" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 75 - duration.json: "validation of duration strings" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 76 - duration.json: "validation of duration strings" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 77 - duration.json: "validation of duration strings" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 78 - duration.json: "validation of duration strings" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 79 - duration.json: "validation of duration strings" - "a valid duration string" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 80 - duration.json: "validation of duration strings" - "an invalid duration string" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 81 - duration.json: "validation of duration strings" - "no elements present" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 82 - duration.json: "validation of duration strings" - "no time elements present" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 83 - duration.json: "validation of duration strings" - "no date or time elements present" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 84 - duration.json: "validation of duration strings" - "elements out of order" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 85 - duration.json: "validation of duration strings" - "missing time separator" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 86 - duration.json: "validation of duration strings" - "time element in the date position" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 87 - duration.json: "validation of duration strings" - "four years duration" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 88 - duration.json: "validation of duration strings" - "zero time, in seconds" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 89 - duration.json: "validation of duration strings" - "zero time, in days" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 90 - duration.json: "validation of duration strings" - "one month duration" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 91 - duration.json: "validation of duration strings" - "one minute duration" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 92 - duration.json: "validation of duration strings" - "one and a half days, in hours" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 93 - duration.json: "validation of duration strings" - "one and a half days, in days and hours" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 94 - duration.json: "validation of duration strings" - "two weeks" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 95 - duration.json: "validation of duration strings" - "weeks cannot be combined with other units" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 96 - duration.json: "validation of duration strings" - "invalid non-ASCII '২' (a Bengali 2)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 97 - duration.json: "validation of duration strings" - "element without unit" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid duration", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 98 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 99 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 100 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 101 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 102 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 103 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 104 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 105 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 106 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 107 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 108 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 109 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 110 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 111 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 112 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 113 - hostname.json: "validation of host names" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 114 - hostname.json: "validation of host names" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 115 - hostname.json: "validation of host names" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 116 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 117 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 118 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 119 - hostname.json: "validation of host names" - "a valid host name" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 120 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 121 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 122 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 123 - hostname.json: "validation of host names" - "a host name with a component too long" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 124 - hostname.json: "validation of host names" - "starts with hyphen" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 125 - hostname.json: "validation of host names" - "ends with hyphen" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 126 - hostname.json: "validation of host names" - "starts with underscore" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 127 - hostname.json: "validation of host names" - "ends with underscore" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 128 - hostname.json: "validation of host names" - "contains underscore" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 129 - hostname.json: "validation of host names" - "maximum label length" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 130 - hostname.json: "validation of host names" - "exceeds maximum label length" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 131 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"hostname\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 132 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"host-name\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 133 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"h0stn4me\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 134 - hostname.json: "validation of host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"1host\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 135 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"hostnam3\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s # 323s ok 136 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 137 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 138 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 139 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 140 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 141 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 142 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid idn e-mail (example@example.test in Hangul)" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 143 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid idn e-mail address" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 144 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid e-mail address" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 145 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid e-mail address" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-email", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 146 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 147 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 148 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 149 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 150 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 151 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s 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" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s 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" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected false; got true 323s # data: "\"실〮례.테스트\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "valid": true 323s # } 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 156 - idn-hostname.json: "validation of internationalized host names" - "invalid label, correct Punycode" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 157 - idn-hostname.json: "validation of internationalized host names" - "valid Chinese Punycode" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"xn--ihqwcrb4cv8a8dqg056pqjye\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 158 - idn-hostname.json: "validation of internationalized host names" - "invalid Punycode" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 160 - idn-hostname.json: "validation of internationalized host names" - "U-label starts with a dash" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 161 - idn-hostname.json: "validation of internationalized host names" - "U-label ends with a dash" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 163 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Spacing Combining Mark" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 164 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Nonspacing Mark" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 165 - idn-hostname.json: "validation of internationalized host names" - "Begins with an Enclosing Mark" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"ßς་〇\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"Û½Û¾\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 170 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no preceding 'l'" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 171 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing preceding" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 172 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no following 'l'" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 173 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing following" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 174 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with surrounding 'l's" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"l·l\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 175 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by Greek" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 176 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by anything" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 177 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA followed by Greek" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"α͵β\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 178 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 179 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by anything" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 180 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"א׳ב\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 181 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 182 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by anything" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 183 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"א״ב\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 185 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no other characters" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 186 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Hiragana" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"・ぁ\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 187 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Katakana" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"・ァ\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 188 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Han" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"・丈\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"ب٠ب\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"Û°0\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 192 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by Virama" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 193 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by anything" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false # 323s 1..1 323s } 323s ok 194 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"क्‍ष\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 195 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"क्‌ष\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s 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" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"بي‌بي\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 197 - idn-hostname.json: "validation of internationalized host names" - "single label" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"hostname\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 198 - idn-hostname.json: "validation of internationalized host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"host-name\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 199 - idn-hostname.json: "validation of internationalized host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"h0stn4me\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 200 - idn-hostname.json: "validation of internationalized host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"1host\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s ok 201 - idn-hostname.json: "validation of internationalized host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected true; got false 323s # data: "\"hostnam3\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid idn-hostname", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s 1..1 323s } 323s # 323s ok 202 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 203 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 204 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 205 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 206 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 207 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 208 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 209 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 210 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 211 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 212 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 213 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 214 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 215 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 216 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 217 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv4", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 218 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 219 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 220 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 221 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 222 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 223 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 224 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 225 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 226 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 227 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 228 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 229 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 230 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 231 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 232 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 233 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 234 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 235 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 236 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 237 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 238 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 239 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 240 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 241 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 242 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 243 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 244 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 245 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 246 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 247 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 248 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 249 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 250 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 251 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 252 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 253 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 254 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 255 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 256 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 257 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid ipv6", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 258 - iri-reference.json: "validation of IRI References" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 259 - iri-reference.json: "validation of IRI References" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 260 - iri-reference.json: "validation of IRI References" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 261 - iri-reference.json: "validation of IRI References" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 262 - iri-reference.json: "validation of IRI References" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 263 - iri-reference.json: "validation of IRI References" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 264 - iri-reference.json: "validation of IRI References" - "a valid IRI" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 265 - iri-reference.json: "validation of IRI References" - "a valid protocol-relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 266 - iri-reference.json: "validation of IRI References" - "a valid relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 267 - iri-reference.json: "validation of IRI References" - "an invalid IRI Reference" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected false; got true 323s # data: "\"\\\\\\\\WINDOWS\\\\filëßåré\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"iri-reference\"}" 323s # result: { 323s # "valid": true 323s # } 323s 1..1 323s } 323s ok 268 - iri-reference.json: "validation of IRI References" - "a valid IRI Reference" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 269 - iri-reference.json: "validation of IRI References" - "a valid IRI fragment" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 270 - iri-reference.json: "validation of IRI References" - "an invalid IRI fragment" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected false; got true 323s # data: "\"#ƒräg\\\\mênt\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"iri-reference\"}" 323s # result: { 323s # "valid": true 323s # } 323s 1..1 323s } 323s # 323s ok 271 - iri.json: "validation of IRIs" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 272 - iri.json: "validation of IRIs" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 273 - iri.json: "validation of IRIs" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 274 - iri.json: "validation of IRIs" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 275 - iri.json: "validation of IRIs" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 276 - iri.json: "validation of IRIs" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 277 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 278 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag and parentheses" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 279 - iri.json: "validation of IRIs" - "a valid IRI with URL-encoded stuff" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 280 - iri.json: "validation of IRIs" - "a valid IRI with many special characters" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 281 - iri.json: "validation of IRIs" - "a valid IRI based on IPv6" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 282 - iri.json: "validation of IRIs" - "an invalid IRI based on IPv6" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected false; got true 323s # data: "\"http://2001:0db8:85a3:0000:0000:8a2e:0370:7334\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"iri\"}" 323s # result: { 323s # "valid": true 323s # } 323s 1..1 323s } 323s ok 283 - iri.json: "validation of IRIs" - "an invalid relative IRI Reference" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid iri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid iri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 284 - iri.json: "validation of IRIs" - "an invalid IRI" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid iri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid iri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 285 - iri.json: "validation of IRIs" - "an invalid IRI though valid IRI reference" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid iri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid iri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 286 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 287 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 288 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 289 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 290 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 291 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 292 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 293 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 294 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 295 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 296 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 297 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 298 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 299 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 300 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 301 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 302 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 303 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 304 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 305 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 306 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 307 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 308 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 309 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 310 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 311 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 312 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 313 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 314 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 315 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 316 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 317 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 318 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 319 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 320 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 321 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 322 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 323 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 324 - regex.json: "validation of regular expressions" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 325 - regex.json: "validation of regular expressions" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 326 - regex.json: "validation of regular expressions" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 327 - regex.json: "validation of regular expressions" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 328 - regex.json: "validation of regular expressions" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 329 - regex.json: "validation of regular expressions" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 330 - regex.json: "validation of regular expressions" - "a valid regular expression" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 331 - regex.json: "validation of regular expressions" - "a regular expression with unclosed parens is invalid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid regex", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid regex", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 332 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 333 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 334 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 335 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 336 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 337 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 338 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid upwards RJP" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 339 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid downwards RJP" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 340 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid up and then down RJP, with array index" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 341 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid RJP taking the member or index name" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 342 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "an invalid RJP that is a valid JSON Pointer" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 343 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "negative prefix" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 344 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "explicit positive prefix" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 345 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "\#\# is not a valid json-pointer" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 346 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus json-pointer" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 347 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus octothorpe" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 348 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "empty string" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid relative-json-pointer", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 349 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "multi-digit integer prefix" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s # 323s ok 350 - time.json: "validation of time strings" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 351 - time.json: "validation of time strings" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 352 - time.json: "validation of time strings" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 353 - time.json: "validation of time strings" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 354 - time.json: "validation of time strings" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 355 - time.json: "validation of time strings" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 356 - time.json: "validation of time strings" - "a valid time string" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 357 - time.json: "validation of time strings" - "invalid time string with extra leading zeros" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 358 - time.json: "validation of time strings" - "invalid time string with no leading zero for single digit" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 359 - time.json: "validation of time strings" - "hour, minute, second must be two digits" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 360 - time.json: "validation of time strings" - "a valid time string with leap second, Zulu" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 361 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 362 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 363 - time.json: "validation of time strings" - "valid leap second, zero time-offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 364 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong hour)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 365 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong minute)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 366 - time.json: "validation of time strings" - "valid leap second, positive time-offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 367 - time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 368 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 369 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 370 - time.json: "validation of time strings" - "valid leap second, negative time-offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 371 - time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 372 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 373 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 374 - time.json: "validation of time strings" - "a valid time string with second fraction" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 375 - time.json: "validation of time strings" - "a valid time string with precise second fraction" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 376 - time.json: "validation of time strings" - "a valid time string with plus offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 377 - time.json: "validation of time strings" - "a valid time string with minus offset" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 378 - time.json: "validation of time strings" - "hour, minute in time-offset must be two digits" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 379 - time.json: "validation of time strings" - "a valid time string with case-insensitive Z" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 380 - time.json: "validation of time strings" - "an invalid time string with invalid hour" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 381 - time.json: "validation of time strings" - "an invalid time string with invalid minute" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 382 - time.json: "validation of time strings" - "an invalid time string with invalid second" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 383 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong hour)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 384 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong minute)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 385 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset hour" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 386 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset minute" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 387 - time.json: "validation of time strings" - "an invalid time string with invalid time with both Z and numoffset" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 388 - time.json: "validation of time strings" - "an invalid offset indicator" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 389 - time.json: "validation of time strings" - "only RFC3339 not all of ISO 8601 are valid" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 390 - time.json: "validation of time strings" - "no time offset" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 391 - time.json: "validation of time strings" - "no time offset with second fraction" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 392 - time.json: "validation of time strings" - "invalid non-ASCII '২' (a Bengali 2)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 393 - time.json: "validation of time strings" - "offset not starting with plus or minus" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 394 - time.json: "validation of time strings" - "contains letters" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid time", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 395 - unknown.json: "unknown format" - "unknown formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 396 - unknown.json: "unknown format" - "unknown formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 397 - unknown.json: "unknown format" - "unknown formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 398 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 399 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 400 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 401 - unknown.json: "unknown format" - "unknown formats ignore strings" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s # 323s ok 402 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 403 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 404 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 405 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 406 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 407 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 408 - uri-reference.json: "validation of URI References" - "a valid URI" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 409 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 410 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 411 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri-reference", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri-reference", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 412 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 413 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 414 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri-reference", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri-reference", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s # 323s ok 415 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 416 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 417 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 418 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 419 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 420 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 421 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 422 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected false; got true 323s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"uri-template\"}" 323s # result: { 323s # "valid": true 323s # } 323s 1..1 323s } 323s ok 423 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s ok 424 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true # 323s 1..1 323s } 323s # 323s ok 425 - uri.json: "validation of URIs" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 426 - uri.json: "validation of URIs" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 427 - uri.json: "validation of URIs" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 428 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 429 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 430 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 431 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 432 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 433 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 434 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 435 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 436 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 437 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 438 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 439 - uri.json: "validation of URIs" - "a valid URL " { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 440 - uri.json: "validation of URIs" - "a valid mailto URI" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 441 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 442 - uri.json: "validation of URIs" - "a valid tel URI" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 443 - uri.json: "validation of URIs" - "a valid URN" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 444 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 445 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 446 - uri.json: "validation of URIs" - "an invalid URI" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 447 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 448 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 449 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uri", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 450 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s not ok 1 - evaluation result is incorrect # 323s # Failed test (with amnesty) 'evaluation result is incorrect' 323s # at t/zzz-acceptance-draft2019-09-format.t line 68. 323s # expected false; got true 323s # data: "\"bar,baz:foo\"" 323s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"uri\"}" 323s # result: { 323s # "valid": true 323s # } 323s 1..1 323s } 323s # 323s ok 451 - uuid.json: "uuid format" - "all string formats ignore integers" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 452 - uuid.json: "uuid format" - "all string formats ignore floats" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 453 - uuid.json: "uuid format" - "all string formats ignore objects" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 454 - uuid.json: "uuid format" - "all string formats ignore arrays" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 455 - uuid.json: "uuid format" - "all string formats ignore booleans" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 456 - uuid.json: "uuid format" - "all string formats ignore nulls" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 457 - uuid.json: "uuid format" - "all upper-case" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 458 - uuid.json: "uuid format" - "all lower-case" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 459 - uuid.json: "uuid format" - "mixed case" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 460 - uuid.json: "uuid format" - "all zeroes is valid" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 461 - uuid.json: "uuid format" - "wrong length" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 462 - uuid.json: "uuid format" - "missing section" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 463 - uuid.json: "uuid format" - "bad characters (not hex)" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 464 - uuid.json: "uuid format" - "no dashes" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 465 - uuid.json: "uuid format" - "too few dashes" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 466 - uuid.json: "uuid format" - "too many dashes" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 467 - uuid.json: "uuid format" - "dashes in the wrong spot" { 323s # result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s # short-circuited result: { 323s # "errors": [ 323s # { 323s # "error": "not a valid uuid", 323s # "instanceLocation": "", 323s # "keywordLocation": "/format" 323s # } 323s # ], 323s # "valid": false 323s # } 323s ok 1 - test passes: data is valid: false 323s 1..1 323s } 323s ok 468 - uuid.json: "uuid format" - "valid version 4" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 469 - uuid.json: "uuid format" - "valid version 5" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 470 - uuid.json: "uuid format" - "hypothetical version 6" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s ok 471 - uuid.json: "uuid format" - "hypothetical version 15" { 323s # result: { 323s # "valid": true 323s # } 323s # short-circuited result: { 323s # "valid": true 323s # } 323s ok 1 - test passes: data is valid: true 323s 1..1 323s } 323s # 323s # 323s # generated with: Test::JSON::Schema::Acceptance 1.026 323s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 323s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 323s # specification version: draft2019-09 323s # using custom test directory: /optional/format 323s # optional tests included: yes 323s # 323s # filename pass todo-fail fail 323s # --------------------------------------------------------------- 323s # date-time.json 25 0 0 323s # date.json 47 0 0 323s # duration.json 25 0 0 323s # email.json 15 0 0 323s # hostname.json 18 5 0 323s # idn-email.json 10 0 0 323s # idn-hostname.json 35 21 0 323s # ipv4.json 16 0 0 323s # ipv6.json 40 0 0 323s # iri-reference.json 11 2 0 323s # iri.json 14 1 0 323s # json-pointer.json 38 0 0 323s # regex.json 8 0 0 323s # relative-json-pointer.json 18 0 0 323s # time.json 45 0 0 323s # unknown.json 7 0 0 323s # uri-reference.json 13 0 0 323s # uri-template.json 9 1 0 323s # uri.json 25 1 0 323s # uuid.json 21 0 0 323s # --------------------------------------------------------------- 323s # TOTAL 440 31 0 323s # 323s # Congratulations, all non-optional tests are passing! 323s # 323s ok 472 - no leaks in the main evaluator object 323s ok 473 - no leaks in the short-circuiting evaluator object 323s 1..473 323s ok 335s t/zzz-acceptance-draft2019-09.t ......... 335s # AUTHOR_TESTING: 335s # AUTOMATED_TESTING: 1 335s # EXTENDED_TESTING: 335s # NO_TODO: 335s # TEST_DIR: 335s # NO_SHORT_CIRCUIT: 335s # 335s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 335s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2019-09 against draft2019-09... 335s # 335s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/additionalItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/additionalItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "valid with a array of type integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 4 - additionalItems.json: "when items is schema, additionalItems does nothing" - "invalid with a array of mixed types" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/type" 335s # }, 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 5 - additionalItems.json: "when items is schema, boolean additionalItems does nothing" - "all items match schema" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 9 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 10 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 11 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 12 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 13 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 14 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 15 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not boolean", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/additionalItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not boolean", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/additionalItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 16 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 17 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/additionalItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/additionalItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 18 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 19 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 20 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 25 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 26 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 27 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 28 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/élmény", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/élmény", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 29 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 30 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 31 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 32 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 33 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 34 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 35 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 36 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 37 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against both keywords" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 38 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against propertyNames, but not additionalProperties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/pear", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/pear", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 39 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties doesn't consider dependentSchemas" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 40 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 41 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar even when foo2 is present" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 42 - allOf.json: "allOf" - "allOf" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 43 - allOf.json: "allOf" - "mismatch second" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/required" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/required" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 44 - allOf.json: "allOf" - "mismatch first" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/required" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/required" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 45 - allOf.json: "allOf" - "wrong type" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/properties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/properties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 46 - allOf.json: "allOf with base schema" - "valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 47 - allOf.json: "allOf with base schema" - "mismatch base schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 48 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/required" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/required" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 49 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: baz", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/required" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: baz", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/required" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 50 - allOf.json: "allOf with base schema" - "mismatch both" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/required" 335s # }, 335s # { 335s # "error": "object is missing property: baz", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/required" 335s # }, 335s # { 335s # "error": "subschemas 0, 1 are not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/required" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 51 - allOf.json: "allOf simple types" - "valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 52 - allOf.json: "allOf simple types" - "mismatch one" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 30", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/maximum" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 30", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/maximum" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 53 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 54 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 55 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0" 335s # }, 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1" 335s # }, 335s # { 335s # "error": "subschemas 0, 1 are not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 56 - allOf.json: "allOf with one empty schema" - "any data is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 57 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 58 - allOf.json: "allOf with the first empty schema" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 59 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/type" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/type" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 60 - allOf.json: "allOf with the last empty schema" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 61 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/type" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/type" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 62 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 63 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/allOf/0/type" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/allOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/allOf/0/type" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/allOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 64 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 5", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 65 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 66 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 5", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 67 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 68 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 5", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 69 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 70 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 5", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 5", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/multipleOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 71 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 72 - anchor.json: "Location-independent identifier" - "match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 73 - anchor.json: "Location-independent identifier" - "mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/A/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/A/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 74 - anchor.json: "Location-independent identifier with absolute URI" - "match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 75 - anchor.json: "Location-independent identifier with absolute URI" - "mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/bar#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/bar#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 76 - anchor.json: "Location-independent identifier with base URI change in subschema" - "match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 77 - anchor.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested.json#/$defs/B/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested.json#/$defs/B/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 78 - anchor.json: "same $anchor with different base uri" - "$ref resolves to /$defs/A/allOf/1" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 79 - anchor.json: "same $anchor with different base uri" - "$ref does not resolve to /$defs/A/allOf/0" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/child1#/allOf/1/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/child1#/allOf/1/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 80 - anyOf.json: "anyOf" - "first anyOf valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 81 - anyOf.json: "anyOf" - "second anyOf valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 82 - anyOf.json: "anyOf" - "both anyOf valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 83 - anyOf.json: "anyOf" - "neither anyOf valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "error": "value is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/minimum" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "error": "value is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/minimum" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 84 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 85 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 86 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "length is greater than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/maxLength" 335s # }, 335s # { 335s # "error": "length is less than 4", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/minLength" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "length is greater than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/maxLength" 335s # }, 335s # { 335s # "error": "length is less than 4", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/minLength" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 87 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 88 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 89 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0" 335s # }, 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0" 335s # }, 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 90 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 91 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 92 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 93 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/anyOf/0/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/properties" 335s # }, 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/properties/foo/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/properties" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/anyOf/0/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/properties" 335s # }, 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/properties/foo/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/properties" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 94 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 95 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 96 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 97 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/anyOf/0/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/anyOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/anyOf/0/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/anyOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 98 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 99 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 100 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 101 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 102 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 103 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 104 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 105 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 106 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 107 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 108 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 109 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 110 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 111 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 112 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 113 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 114 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 115 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 116 - const.json: "const validation" - "same value is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 117 - const.json: "const validation" - "another value is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 118 - const.json: "const validation" - "another type is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 119 - const.json: "const with object" - "same object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 120 - const.json: "const with object" - "same object with different property order is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 121 - const.json: "const with object" - "another object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 122 - const.json: "const with object" - "another type is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 123 - const.json: "const with array" - "same array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 124 - const.json: "const with array" - "another array item is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs object)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs object)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 125 - const.json: "const with array" - "array with additional items is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 126 - const.json: "const with null" - "null is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 127 - const.json: "const with null" - "not null is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 128 - const.json: "const with false does not match 0" - "false is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 129 - const.json: "const with false does not match 0" - "integer zero is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 130 - const.json: "const with false does not match 0" - "float zero is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 131 - const.json: "const with true does not match 1" - "true is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 132 - const.json: "const with true does not match 1" - "integer one is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 133 - const.json: "const with true does not match 1" - "float one is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 134 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 135 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 136 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 137 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 138 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 139 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 140 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 141 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 142 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 143 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 144 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 145 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 146 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 147 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 148 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 149 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 150 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 151 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 152 - const.json: "const with 1 does not match true" - "true is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 153 - const.json: "const with 1 does not match true" - "integer one is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 154 - const.json: "const with 1 does not match true" - "float one is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 155 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 156 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 157 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 158 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 159 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 160 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 161 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 162 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 163 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 164 - const.json: "nul characters in strings" - "match string with nul" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 165 - const.json: "nul characters in strings" - "do not match string lacking nul" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/const" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 166 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 167 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 168 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 169 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than 5", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains/minimum" 335s # }, 335s # { 335s # "error": "value is less than 5", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/contains/minimum" 335s # }, 335s # { 335s # "error": "value is less than 5", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/contains/minimum" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than 5", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains/minimum" 335s # }, 335s # { 335s # "error": "value is less than 5", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/contains/minimum" 335s # }, 335s # { 335s # "error": "value is less than 5", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/contains/minimum" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 170 - contains.json: "contains keyword validation" - "empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 171 - contains.json: "contains keyword validation" - "not array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 172 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 173 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 174 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 175 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 176 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 177 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 178 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 179 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 180 - contains.json: "items + contains" - "matches items, does not match contains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains/multipleOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/contains/multipleOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/contains/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains/multipleOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/contains/multipleOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/contains/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 181 - contains.json: "items + contains" - "does not match items, matches contains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/multipleOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/items/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 182 - contains.json: "items + contains" - "matches both items and contains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 183 - contains.json: "items + contains" - "matches neither items nor contains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/multipleOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # }, 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains/multipleOf" 335s # }, 335s # { 335s # "error": "value is not a multiple of 3", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/contains/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 184 - contains.json: "contains with false if subschema" - "any non-empty array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 185 - contains.json: "contains with false if subschema" - "empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 186 - contains.json: "contains with null instance elements" - "allows null items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 187 - content.json: "validation of string-encoded content based on media type" - "a valid JSON document" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 188 - content.json: "validation of string-encoded content based on media type" - "an invalid JSON document; validates true" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 189 - content.json: "validation of string-encoded content based on media type" - "ignores non-strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 190 - content.json: "validation of binary string-encoding" - "a valid base64 string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 191 - content.json: "validation of binary string-encoding" - "an invalid base64 string (% is not a valid character); validates true" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 192 - content.json: "validation of binary string-encoding" - "ignores non-strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 193 - content.json: "validation of binary-encoded media type documents" - "a valid base64-encoded JSON document" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 194 - content.json: "validation of binary-encoded media type documents" - "a validly-encoded invalid JSON document; validates true" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 195 - content.json: "validation of binary-encoded media type documents" - "an invalid base64 string that is valid JSON; validates true" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 196 - content.json: "validation of binary-encoded media type documents" - "ignores non-strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 197 - content.json: "validation of binary-encoded media type documents with schema" - "a valid base64-encoded JSON document" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 198 - content.json: "validation of binary-encoded media type documents with schema" - "another valid base64-encoded JSON document" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 199 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64-encoded JSON document; validates true" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 200 - content.json: "validation of binary-encoded media type documents with schema" - "an empty object as a base64-encoded JSON document; validates true" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 201 - content.json: "validation of binary-encoded media type documents with schema" - "an empty array as a base64-encoded JSON document" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 202 - content.json: "validation of binary-encoded media type documents with schema" - "a validly-encoded invalid JSON document; validates true" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 203 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64 string that is valid JSON; validates true" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 204 - content.json: "validation of binary-encoded media type documents with schema" - "ignores non-strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 205 - default.json: "invalid type for default" - "valid when property is specified" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 206 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 207 - default.json: "invalid string value for default" - "valid when property is specified" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 208 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s 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)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s 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)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 3", 335s # "instanceLocation": "/alpha", 335s # "keywordLocation": "/properties/alpha/maximum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 3", 335s # "instanceLocation": "/alpha", 335s # "keywordLocation": "/properties/alpha/maximum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s 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" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 212 - defs.json: "validate definition against metaschema" - "valid definition schema" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 213 - defs.json: "validate definition against metaschema" - "invalid definition schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/simpleTypes/enum", 335s # "error": "value does not match", 335s # "instanceLocation": "/$defs/foo/type", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/0/$ref/enum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf/1/type", 335s # "error": "got integer, not array", 335s # "instanceLocation": "/$defs/foo/type", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/$defs/foo/type", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/$defs/foo", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "/$defs/foo", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties/$defs/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/$defs", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/simpleTypes/enum", 335s # "error": "value does not match", 335s # "instanceLocation": "/$defs/foo/type", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/0/$ref/enum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf/1/type", 335s # "error": "got integer, not array", 335s # "instanceLocation": "/$defs/foo/type", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/$defs/foo/type", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/$defs/foo", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "/$defs/foo", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties/$defs/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/$defs", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 214 - dependentRequired.json: "single dependency" - "neither" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 215 - dependentRequired.json: "single dependency" - "nondependant" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 216 - dependentRequired.json: "single dependency" - "with dependency" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 217 - dependentRequired.json: "single dependency" - "missing dependency" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/bar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/bar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 218 - dependentRequired.json: "single dependency" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 219 - dependentRequired.json: "single dependency" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 220 - dependentRequired.json: "single dependency" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 221 - dependentRequired.json: "empty dependents" - "empty object" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 222 - dependentRequired.json: "empty dependents" - "object with one property" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 223 - dependentRequired.json: "empty dependents" - "non-object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 224 - dependentRequired.json: "multiple dependents required" - "neither" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 225 - dependentRequired.json: "multiple dependents required" - "nondependants" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 226 - dependentRequired.json: "multiple dependents required" - "with dependencies" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 227 - dependentRequired.json: "multiple dependents required" - "missing dependency" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/quux" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/quux" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 228 - dependentRequired.json: "multiple dependents required" - "missing other dependency" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/quux" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/quux" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 229 - dependentRequired.json: "multiple dependents required" - "missing both dependencies" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: foo, bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/quux" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: foo, bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/quux" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 230 - dependentRequired.json: "dependencies with escaped characters" - "CRLF" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 231 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 232 - dependentRequired.json: "dependencies with escaped characters" - "CRLF missing dependent" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo\rbar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/foo\nbar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo\rbar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/foo\nbar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 233 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo'bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/foo\"bar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo'bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired/foo\"bar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentRequired" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 234 - dependentSchemas.json: "single dependency" - "valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 235 - dependentSchemas.json: "single dependency" - "no dependency" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 236 - dependentSchemas.json: "single dependency" - "wrong type" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar/properties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar/properties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 237 - dependentSchemas.json: "single dependency" - "wrong type other" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar/properties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar/properties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 238 - dependentSchemas.json: "single dependency" - "wrong type both" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 335s # }, 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar/properties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar/properties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 239 - dependentSchemas.json: "single dependency" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 240 - dependentSchemas.json: "single dependency" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 241 - dependentSchemas.json: "single dependency" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 242 - dependentSchemas.json: "boolean subschemas" - "object with property having schema true is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 243 - dependentSchemas.json: "boolean subschemas" - "object with property having schema false is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 244 - dependentSchemas.json: "boolean subschemas" - "object with both properties is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/bar" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 245 - dependentSchemas.json: "boolean subschemas" - "empty object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 246 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 247 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo\"bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo'bar/required" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo\"bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo'bar/required" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 248 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab invalid under dependent schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object has fewer than 4 properties", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object has fewer than 4 properties", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 249 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote invalid under dependent schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo\"bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo'bar/required" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo\"bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo'bar/required" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 250 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches root" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 251 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches dependency" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 252 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches both" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 335s # }, 335s # { 335s # "error": "not all dependencies are satisfied", 335s # "instanceLocation": "", 335s # "keywordLocation": "/dependentSchemas" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 253 - dependentSchemas.json: "dependent subschema incompatible with root" - "no dependency" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 254 - enum.json: "simple enum validation" - "one of the enum is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 255 - enum.json: "simple enum validation" - "something else is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 256 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 257 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 258 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 335s # result: { 335s # "errors": [ 335s # { 335s # "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)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "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)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 259 - enum.json: "heterogeneous enum validation" - "valid object matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 260 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 261 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 262 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 263 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 264 - enum.json: "enums in properties" - "both properties are valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 265 - enum.json: "enums in properties" - "wrong foo value" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/enum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/enum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 266 - enum.json: "enums in properties" - "wrong bar value" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/enum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/enum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 267 - enum.json: "enums in properties" - "missing optional property is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 268 - enum.json: "enums in properties" - "missing required property is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 269 - enum.json: "enums in properties" - "missing all properties is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 270 - enum.json: "enum with escaped characters" - "member 1 is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 271 - enum.json: "enum with escaped characters" - "member 2 is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 272 - enum.json: "enum with escaped characters" - "another string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 273 - enum.json: "enum with false does not match 0" - "false is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 274 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 275 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 276 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 277 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 278 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 279 - enum.json: "enum with true does not match 1" - "true is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 280 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 281 - enum.json: "enum with true does not match 1" - "float one is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 282 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 283 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 284 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 285 - enum.json: "enum with 0 does not match false" - "false is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 286 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 287 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 288 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 289 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 290 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 291 - enum.json: "enum with 1 does not match true" - "true is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 292 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 293 - enum.json: "enum with 1 does not match true" - "float one is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 294 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 295 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 296 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 297 - enum.json: "nul characters in strings" - "match string with nul" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 298 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 299 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 300 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than or equal to 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMaximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than or equal to 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMaximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 301 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than or equal to 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMaximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than or equal to 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMaximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 302 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 303 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 304 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than or equal to 1.1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMinimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than or equal to 1.1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMinimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 305 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than or equal to 1.1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMinimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than or equal to 1.1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMinimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 306 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 307 - format.json: "email format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 308 - format.json: "email format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 309 - format.json: "email format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 310 - format.json: "email format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 311 - format.json: "email format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 312 - format.json: "email format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 313 - format.json: "idn-email format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 314 - format.json: "idn-email format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 315 - format.json: "idn-email format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 316 - format.json: "idn-email format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 317 - format.json: "idn-email format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 318 - format.json: "idn-email format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 319 - format.json: "regex format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 320 - format.json: "regex format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 321 - format.json: "regex format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 322 - format.json: "regex format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 323 - format.json: "regex format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 324 - format.json: "regex format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 325 - format.json: "ipv4 format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 326 - format.json: "ipv4 format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 327 - format.json: "ipv4 format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 328 - format.json: "ipv4 format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 329 - format.json: "ipv4 format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 330 - format.json: "ipv4 format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 331 - format.json: "ipv6 format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 332 - format.json: "ipv6 format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 333 - format.json: "ipv6 format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 334 - format.json: "ipv6 format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 335 - format.json: "ipv6 format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 336 - format.json: "ipv6 format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 337 - format.json: "idn-hostname format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 338 - format.json: "idn-hostname format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 339 - format.json: "idn-hostname format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 340 - format.json: "idn-hostname format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 341 - format.json: "idn-hostname format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 342 - format.json: "idn-hostname format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 343 - format.json: "hostname format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 344 - format.json: "hostname format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 345 - format.json: "hostname format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 346 - format.json: "hostname format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 347 - format.json: "hostname format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 348 - format.json: "hostname format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 349 - format.json: "date format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 350 - format.json: "date format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 351 - format.json: "date format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 352 - format.json: "date format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 353 - format.json: "date format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 354 - format.json: "date format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 355 - format.json: "date-time format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 356 - format.json: "date-time format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 357 - format.json: "date-time format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 358 - format.json: "date-time format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 359 - format.json: "date-time format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 360 - format.json: "date-time format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 361 - format.json: "time format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 362 - format.json: "time format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 363 - format.json: "time format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 364 - format.json: "time format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 365 - format.json: "time format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 366 - format.json: "time format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 367 - format.json: "json-pointer format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 368 - format.json: "json-pointer format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 369 - format.json: "json-pointer format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 370 - format.json: "json-pointer format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 371 - format.json: "json-pointer format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 372 - format.json: "json-pointer format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 373 - format.json: "relative-json-pointer format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 374 - format.json: "relative-json-pointer format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 375 - format.json: "relative-json-pointer format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 376 - format.json: "relative-json-pointer format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 377 - format.json: "relative-json-pointer format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 378 - format.json: "relative-json-pointer format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 379 - format.json: "iri format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 380 - format.json: "iri format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 381 - format.json: "iri format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 382 - format.json: "iri format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 383 - format.json: "iri format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 384 - format.json: "iri format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 385 - format.json: "iri-reference format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 386 - format.json: "iri-reference format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 387 - format.json: "iri-reference format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 388 - format.json: "iri-reference format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 389 - format.json: "iri-reference format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 390 - format.json: "iri-reference format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 391 - format.json: "uri format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 392 - format.json: "uri format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 393 - format.json: "uri format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 394 - format.json: "uri format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 395 - format.json: "uri format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 396 - format.json: "uri format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 397 - format.json: "uri-reference format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 398 - format.json: "uri-reference format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 399 - format.json: "uri-reference format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 400 - format.json: "uri-reference format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 401 - format.json: "uri-reference format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 402 - format.json: "uri-reference format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 403 - format.json: "uri-template format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 404 - format.json: "uri-template format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 405 - format.json: "uri-template format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 406 - format.json: "uri-template format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 407 - format.json: "uri-template format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 408 - format.json: "uri-template format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 409 - format.json: "uuid format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 410 - format.json: "uuid format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 411 - format.json: "uuid format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 412 - format.json: "uuid format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 413 - format.json: "uuid format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 414 - format.json: "uuid format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 415 - format.json: "duration format" - "all string formats ignore integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 416 - format.json: "duration format" - "all string formats ignore floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 417 - format.json: "duration format" - "all string formats ignore objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 418 - format.json: "duration format" - "all string formats ignore arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 419 - format.json: "duration format" - "all string formats ignore booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 420 - format.json: "duration format" - "all string formats ignore nulls" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 421 - if-then-else.json: "ignore if without then or else" - "valid when valid against lone if" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 422 - if-then-else.json: "ignore if without then or else" - "valid when invalid against lone if" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 423 - if-then-else.json: "ignore then without if" - "valid when valid against lone then" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 424 - if-then-else.json: "ignore then without if" - "valid when invalid against lone then" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 425 - if-then-else.json: "ignore else without if" - "valid when valid against lone else" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 426 - if-then-else.json: "ignore else without if" - "valid when invalid against lone else" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 427 - if-then-else.json: "if and then without else" - "valid through then" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 428 - if-then-else.json: "if and then without else" - "invalid through then" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than -10", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then/minimum" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than -10", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then/minimum" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 429 - if-then-else.json: "if and then without else" - "valid when if test fails" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 430 - if-then-else.json: "if and else without then" - "valid when if test passes" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 431 - if-then-else.json: "if and else without then" - "valid through else" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 432 - if-then-else.json: "if and else without then" - "invalid through else" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 433 - if-then-else.json: "validate against correct branch, then vs else" - "valid through then" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 434 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through then" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than -10", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then/minimum" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than -10", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then/minimum" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 435 - if-then-else.json: "validate against correct branch, then vs else" - "valid through else" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 436 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through else" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/multipleOf" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 437 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through then" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 438 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through else" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 439 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (valid)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 440 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (invalid)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then/const" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then/const" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 441 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (invalid)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/const" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/const" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 442 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (valid)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 443 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "yes redirects to then and passes" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 444 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "other redirects to else and passes" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 445 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "no redirects to then and fails" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then/const" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then/const" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/then" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 446 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "invalid redirects to else and fails" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/const" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/const" 335s # }, 335s # { 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s 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" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s 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" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/int/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/int/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/additionalProperties" 335s # }, 335s # { 335s # "error": "subschemas 0, 1 are not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/int/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/properties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 449 - items.json: "a schema given for items" - "valid items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 450 - items.json: "a schema given for items" - "wrong type of items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 451 - items.json: "a schema given for items" - "ignores non-arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 452 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 453 - items.json: "an array of schemas for items" - "correct types" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 454 - items.json: "an array of schemas for items" - "wrong types" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/0/type" 335s # }, 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/1/type" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/0/type" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 455 - items.json: "an array of schemas for items" - "incomplete array of items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 456 - items.json: "an array of schemas for items" - "array with additional items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 457 - items.json: "an array of schemas for items" - "empty array" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 458 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 459 - items.json: "items with boolean schema (true)" - "any array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 460 - items.json: "items with boolean schema (true)" - "empty array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 461 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items" 335s # }, 335s # { 335s # "error": "item not permitted", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items" 335s # }, 335s # { 335s # "error": "item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 462 - items.json: "items with boolean schema (false)" - "empty array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 463 - items.json: "items with boolean schemas" - "array with one item is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 464 - items.json: "items with boolean schemas" - "array with two items is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "item not permitted", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/1" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "item not permitted", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/1" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 465 - items.json: "items with boolean schemas" - "empty array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 466 - items.json: "items and subitems" - "valid items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 467 - items.json: "items and subitems" - "too many items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 468 - items.json: "items and subitems" - "too many sub-items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0/2", 335s # "keywordLocation": "/items/0/$ref/additionalItems" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/0/$ref/additionalItems" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0/2", 335s # "keywordLocation": "/items/0/$ref/additionalItems" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/0/$ref/additionalItems" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 469 - items.json: "items and subitems" - "wrong item" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/item/type", 335s # "error": "got object, not array", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/0/$ref/type" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/item/type", 335s # "error": "got object, not array", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/0/$ref/type" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 470 - items.json: "items and subitems" - "wrong sub-item" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "/0/0", 335s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/item/items", 335s # "error": "not all items are valid", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/0/$ref/items" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "/0/0", 335s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/item/items", 335s # "error": "not all items are valid", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/0/$ref/items" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 471 - items.json: "items and subitems" - "fewer items is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 472 - items.json: "nested items" - "valid nested array" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 473 - items.json: "nested items" - "nested array with invalid type" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/0/0/0/0", 335s # "keywordLocation": "/items/items/items/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0/0/0", 335s # "keywordLocation": "/items/items/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0/0", 335s # "keywordLocation": "/items/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/0/0/0/0", 335s # "keywordLocation": "/items/items/items/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0/0/0", 335s # "keywordLocation": "/items/items/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0/0", 335s # "keywordLocation": "/items/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 474 - items.json: "nested items" - "not deep enough" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not array", 335s # "instanceLocation": "/0/0/0", 335s # "keywordLocation": "/items/items/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0/0", 335s # "keywordLocation": "/items/items/items" 335s # }, 335s # { 335s # "error": "got integer, not array", 335s # "instanceLocation": "/0/1/0", 335s # "keywordLocation": "/items/items/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0/1", 335s # "keywordLocation": "/items/items/items" 335s # }, 335s # { 335s # "error": "got integer, not array", 335s # "instanceLocation": "/0/2/0", 335s # "keywordLocation": "/items/items/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0/2", 335s # "keywordLocation": "/items/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/items" 335s # }, 335s # { 335s # "error": "got integer, not array", 335s # "instanceLocation": "/1/0/0", 335s # "keywordLocation": "/items/items/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/1/0", 335s # "keywordLocation": "/items/items/items" 335s # }, 335s # { 335s # "error": "got integer, not array", 335s # "instanceLocation": "/1/1/0", 335s # "keywordLocation": "/items/items/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/1/1", 335s # "keywordLocation": "/items/items/items" 335s # }, 335s # { 335s # "error": "got integer, not array", 335s # "instanceLocation": "/1/2/0", 335s # "keywordLocation": "/items/items/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/1/2", 335s # "keywordLocation": "/items/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not array", 335s # "instanceLocation": "/0/0/0", 335s # "keywordLocation": "/items/items/items/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0/0", 335s # "keywordLocation": "/items/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/items" 335s # }, 335s # { 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 475 - items.json: "single-form items with null instance elements" - "allows null elements" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 476 - items.json: "array-form items with null instance elements" - "allows null elements" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 477 - maxContains.json: "maxContains without contains is ignored" - "one item valid against lone maxContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 478 - maxContains.json: "maxContains without contains is ignored" - "two items still valid against lone maxContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 479 - maxContains.json: "maxContains with contains" - "empty data" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 480 - maxContains.json: "maxContains with contains" - "all elements match, valid maxContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 481 - maxContains.json: "maxContains with contains" - "all elements match, invalid maxContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 482 - maxContains.json: "maxContains with contains" - "some elements match, valid maxContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 483 - maxContains.json: "maxContains with contains" - "some elements match, invalid maxContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 484 - maxContains.json: "maxContains with contains, value with a decimal" - "one element matches, valid maxContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 485 - maxContains.json: "maxContains with contains, value with a decimal" - "too many elements match, invalid maxContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 486 - maxContains.json: "minContains < maxContains" - "actual < minContains < maxContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # }, 335s # { 335s # "error": "array contains fewer than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 487 - maxContains.json: "minContains < maxContains" - "minContains < actual < maxContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 488 - maxContains.json: "minContains < maxContains" - "minContains < maxContains < actual" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 3 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 3 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 489 - maxItems.json: "maxItems validation" - "shorter is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 490 - maxItems.json: "maxItems validation" - "exact length is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 491 - maxItems.json: "maxItems validation" - "too long is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array has more than 2 items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array has more than 2 items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 492 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 493 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 494 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array has more than 2 items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array has more than 2 items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 495 - maxLength.json: "maxLength validation" - "shorter is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 496 - maxLength.json: "maxLength validation" - "exact length is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 497 - maxLength.json: "maxLength validation" - "too long is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "length is greater than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "length is greater than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 498 - maxLength.json: "maxLength validation" - "ignores non-strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 499 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 500 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 501 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "length is greater than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "length is greater than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 502 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 503 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 504 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object has more than 2 properties", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object has more than 2 properties", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 505 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 506 - maxProperties.json: "maxProperties validation" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 507 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 508 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 509 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object has more than 2 properties", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object has more than 2 properties", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 510 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 511 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object has more than 0 property", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object has more than 0 property", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 512 - maximum.json: "maximum validation" - "below the maximum is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 513 - maximum.json: "maximum validation" - "boundary point is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 514 - maximum.json: "maximum validation" - "above the maximum is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 3", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 515 - maximum.json: "maximum validation" - "ignores non-numbers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 516 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 517 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 518 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 519 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 300", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 300", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 520 - minContains.json: "minContains without contains is ignored" - "one item valid against lone minContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 521 - minContains.json: "minContains without contains is ignored" - "zero items still valid against lone minContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 522 - minContains.json: "minContains=1 with contains" - "empty data" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # }, 335s # { 335s # "error": "array contains fewer than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 523 - minContains.json: "minContains=1 with contains" - "no elements match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # }, 335s # { 335s # "error": "array contains fewer than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/contains/const" 335s # }, 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 524 - minContains.json: "minContains=1 with contains" - "single element matches, valid minContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 525 - minContains.json: "minContains=1 with contains" - "some elements match, valid minContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 526 - minContains.json: "minContains=1 with contains" - "all elements match, valid minContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 527 - minContains.json: "minContains=2 with contains" - "empty data" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # }, 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 528 - minContains.json: "minContains=2 with contains" - "all elements match, invalid minContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 529 - minContains.json: "minContains=2 with contains" - "some elements match, invalid minContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 530 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (exactly as needed)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 531 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (more than needed)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 532 - minContains.json: "minContains=2 with contains" - "some elements match, valid minContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 533 - minContains.json: "minContains=2 with contains with a decimal value" - "one element matches, invalid minContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 534 - minContains.json: "minContains=2 with contains with a decimal value" - "both elements match, valid minContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 535 - minContains.json: "maxContains = minContains" - "empty data" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # }, 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 536 - minContains.json: "maxContains = minContains" - "all elements match, invalid minContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 537 - minContains.json: "maxContains = minContains" - "all elements match, invalid maxContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 2 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 538 - minContains.json: "maxContains = minContains" - "all elements match, valid maxContains and minContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 539 - minContains.json: "maxContains < minContains" - "empty data" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # }, 335s # { 335s # "error": "array contains fewer than 3 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is not valid against any item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/contains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 540 - minContains.json: "maxContains < minContains" - "invalid minContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 3 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains fewer than 3 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 541 - minContains.json: "maxContains < minContains" - "invalid maxContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 542 - minContains.json: "maxContains < minContains" - "invalid maxContains and minContains" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # }, 335s # { 335s # "error": "array contains fewer than 3 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 543 - minContains.json: "minContains = 0 with no maxContains" - "empty data" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 544 - minContains.json: "minContains = 0 with no maxContains" - "minContains = 0 makes contains always pass" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 545 - minContains.json: "minContains = 0 with maxContains" - "empty data" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 546 - minContains.json: "minContains = 0 with maxContains" - "not more than maxContains" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 547 - minContains.json: "minContains = 0 with maxContains" - "too many" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array contains more than 1 matching items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/maxContains" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 548 - minItems.json: "minItems validation" - "longer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 549 - minItems.json: "minItems validation" - "exact length is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 550 - minItems.json: "minItems validation" - "too short is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array has fewer than 1 item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array has fewer than 1 item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 551 - minItems.json: "minItems validation" - "ignores non-arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 552 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 553 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array has fewer than 1 item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array has fewer than 1 item", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 554 - minLength.json: "minLength validation" - "longer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 555 - minLength.json: "minLength validation" - "exact length is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 556 - minLength.json: "minLength validation" - "too short is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 557 - minLength.json: "minLength validation" - "ignores non-strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 558 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 559 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 560 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 561 - minProperties.json: "minProperties validation" - "longer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 562 - minProperties.json: "minProperties validation" - "exact length is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 563 - minProperties.json: "minProperties validation" - "too short is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object has fewer than 1 property", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object has fewer than 1 property", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 564 - minProperties.json: "minProperties validation" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 565 - minProperties.json: "minProperties validation" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 566 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 567 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 568 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object has fewer than 1 property", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object has fewer than 1 property", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 569 - minimum.json: "minimum validation" - "above the minimum is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 570 - minimum.json: "minimum validation" - "boundary point is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 571 - minimum.json: "minimum validation" - "below the minimum is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than 1.1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than 1.1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 572 - minimum.json: "minimum validation" - "ignores non-numbers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 573 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 574 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 575 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 576 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 577 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than -2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than -2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 578 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than -2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than -2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 579 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 580 - multipleOf.json: "by int" - "int by int" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 581 - multipleOf.json: "by int" - "int by int fail" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/multipleOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/multipleOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 582 - multipleOf.json: "by int" - "ignores non-numbers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 583 - multipleOf.json: "by number" - "zero is multiple of anything" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 584 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 585 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 1.5", 335s # "instanceLocation": "", 335s # "keywordLocation": "/multipleOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 1.5", 335s # "instanceLocation": "", 335s # "keywordLocation": "/multipleOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 586 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 587 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 0.0001", 335s # "instanceLocation": "", 335s # "keywordLocation": "/multipleOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 0.0001", 335s # "instanceLocation": "", 335s # "keywordLocation": "/multipleOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 588 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 0.123456789", 335s # "instanceLocation": "", 335s # "keywordLocation": "/multipleOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is not a multiple of 0.123456789", 335s # "instanceLocation": "", 335s # "keywordLocation": "/multipleOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 589 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 590 - not.json: "not" - "allowed" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 591 - not.json: "not" - "disallowed" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 592 - not.json: "not multiple types" - "valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 593 - not.json: "not multiple types" - "mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 594 - not.json: "not multiple types" - "other mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 595 - not.json: "not more complex schema" - "match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 596 - not.json: "not more complex schema" - "other match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 597 - not.json: "not more complex schema" - "mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 598 - not.json: "forbidden property" - "property present" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/not" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/not" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 599 - not.json: "forbidden property" - "property absent" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 600 - not.json: "forbid everything with empty schema" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 601 - not.json: "forbid everything with empty schema" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 602 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 603 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 604 - not.json: "forbid everything with empty schema" - "null is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 605 - not.json: "forbid everything with empty schema" - "object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 606 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 607 - not.json: "forbid everything with empty schema" - "array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 608 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 609 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 610 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 611 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 612 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 613 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 614 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 615 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 616 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 617 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 618 - not.json: "allow everything with boolean schema false" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 619 - not.json: "allow everything with boolean schema false" - "string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 620 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 621 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 622 - not.json: "allow everything with boolean schema false" - "null is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 623 - not.json: "allow everything with boolean schema false" - "object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 624 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 625 - not.json: "allow everything with boolean schema false" - "array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 626 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 627 - not.json: "double negation" - "any value is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 628 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 629 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/not" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 630 - oneOf.json: "oneOf" - "first oneOf valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 631 - oneOf.json: "oneOf" - "second oneOf valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 632 - oneOf.json: "oneOf" - "both oneOf valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 633 - oneOf.json: "oneOf" - "neither oneOf valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/type" 335s # }, 335s # { 335s # "error": "value is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/minimum" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/type" 335s # }, 335s # { 335s # "error": "value is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/minimum" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 634 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # }, 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 635 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 636 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 637 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1, 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 638 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 639 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 640 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0" 335s # }, 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1" 335s # }, 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/2" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0" 335s # }, 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1" 335s # }, 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/2" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 641 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 642 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 643 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 644 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/oneOf/0/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/properties" 335s # }, 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/oneOf/1/properties/foo/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/properties" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/oneOf/0/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/properties" 335s # }, 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/oneOf/1/properties/foo/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/properties" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 645 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 646 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 647 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/required" 335s # }, 335s # { 335s # "error": "object is missing properties: foo, baz", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/required" 335s # }, 335s # { 335s # "error": "object is missing properties: foo, baz", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 648 - oneOf.json: "oneOf with required" - "first valid - valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 649 - oneOf.json: "oneOf with required" - "second valid - valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 650 - oneOf.json: "oneOf with required" - "both valid - invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 651 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 652 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 653 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 654 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/required" 335s # }, 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: bar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/required" 335s # }, 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 655 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 656 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/oneOf/0/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/oneOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/oneOf/0/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/oneOf" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 657 - pattern.json: "pattern validation" - "a matching pattern is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 658 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 659 - pattern.json: "pattern validation" - "ignores booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 660 - pattern.json: "pattern validation" - "ignores integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 661 - pattern.json: "pattern validation" - "ignores floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 662 - pattern.json: "pattern validation" - "ignores objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 663 - pattern.json: "pattern validation" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 664 - pattern.json: "pattern validation" - "ignores null" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 665 - pattern.json: "pattern is not anchored" - "matches a substring" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 666 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 667 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 668 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/patternProperties/f.*o/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/patternProperties/f.*o/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 669 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/patternProperties/f.*o/type" 335s # }, 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foooooo", 335s # "keywordLocation": "/patternProperties/f.*o/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/patternProperties/f.*o/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 670 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 671 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 672 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 673 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 674 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 675 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 676 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/a", 335s # "keywordLocation": "/patternProperties/a*/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/a", 335s # "keywordLocation": "/patternProperties/a*/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 677 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 20", 335s # "instanceLocation": "/aaaa", 335s # "keywordLocation": "/patternProperties/aaa*/maximum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than 20", 335s # "instanceLocation": "/aaaa", 335s # "keywordLocation": "/patternProperties/aaa*/maximum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 678 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/aaa", 335s # "keywordLocation": "/patternProperties/a*/type" 335s # }, 335s # { 335s # "error": "value is greater than 20", 335s # "instanceLocation": "/aaaa", 335s # "keywordLocation": "/patternProperties/aaa*/maximum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/aaa", 335s # "keywordLocation": "/patternProperties/a*/type" 335s # }, 335s # { 335s # "error": "value is greater than 20", 335s # "instanceLocation": "/aaaa", 335s # "keywordLocation": "/patternProperties/aaa*/maximum" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 679 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 680 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not boolean", 335s # "instanceLocation": "/a31b", 335s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not boolean", 335s # "instanceLocation": "/a31b", 335s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 681 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 682 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/a_X_3", 335s # "keywordLocation": "/patternProperties/X_/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/a_X_3", 335s # "keywordLocation": "/patternProperties/X_/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 683 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 684 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/patternProperties/b.*" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/patternProperties/b.*" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 685 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/patternProperties/b.*" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/patternProperties/b.*" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 686 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/foobar", 335s # "keywordLocation": "/patternProperties/b.*" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/foobar", 335s # "keywordLocation": "/patternProperties/b.*" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 687 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 688 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 689 - properties.json: "object properties validation" - "both properties present and valid is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 690 - properties.json: "object properties validation" - "one property invalid is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 691 - properties.json: "object properties validation" - "both properties invalid is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/type" 335s # }, 335s # { 335s # "error": "got array, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 692 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 693 - properties.json: "object properties validation" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 694 - properties.json: "object properties validation" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 695 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 696 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array has more than 3 items", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/maxItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array has more than 3 items", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/maxItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 697 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array has fewer than 2 items", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/patternProperties/f.o/minItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array has fewer than 2 items", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/patternProperties/f.o/minItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 698 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 699 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array has fewer than 2 items", 335s # "instanceLocation": "/fxo", 335s # "keywordLocation": "/patternProperties/f.o/minItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array has fewer than 2 items", 335s # "instanceLocation": "/fxo", 335s # "keywordLocation": "/patternProperties/f.o/minItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 700 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 701 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 702 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/additionalProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 703 - properties.json: "properties with boolean schema" - "no property present is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 704 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 705 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 706 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 707 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 708 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/foo\tbar", 335s # "keywordLocation": "/properties/foo\tbar/type" 335s # }, 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/foo\nbar", 335s # "keywordLocation": "/properties/foo\nbar/type" 335s # }, 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/foo\fbar", 335s # "keywordLocation": "/properties/foo\fbar/type" 335s # }, 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/foo\rbar", 335s # "keywordLocation": "/properties/foo\rbar/type" 335s # }, 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/foo\"bar", 335s # "keywordLocation": "/properties/foo\"bar/type" 335s # }, 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/foo\\bar", 335s # "keywordLocation": "/properties/foo\\bar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/foo\tbar", 335s # "keywordLocation": "/properties/foo\tbar/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 709 - properties.json: "properties with null valued instance properties" - "allows null values" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 710 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 711 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 712 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 713 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/__proto__", 335s # "keywordLocation": "/properties/__proto__/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/__proto__", 335s # "keywordLocation": "/properties/__proto__/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 714 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/toString/length", 335s # "keywordLocation": "/properties/toString/properties/length/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/toString", 335s # "keywordLocation": "/properties/toString/properties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/toString/length", 335s # "keywordLocation": "/properties/toString/properties/length/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/toString", 335s # "keywordLocation": "/properties/toString/properties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 715 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not number", 335s # "instanceLocation": "/constructor", 335s # "keywordLocation": "/properties/constructor/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not number", 335s # "instanceLocation": "/constructor", 335s # "keywordLocation": "/properties/constructor/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 716 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 717 - propertyNames.json: "propertyNames validation" - "all property names valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 718 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "length is greater than 3", 335s # "instanceLocation": "/foobar", 335s # "keywordLocation": "/propertyNames/maxLength" 335s # }, 335s # { 335s # "error": "not all property names are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/propertyNames" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "length is greater than 3", 335s # "instanceLocation": "/foobar", 335s # "keywordLocation": "/propertyNames/maxLength" 335s # }, 335s # { 335s # "error": "not all property names are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/propertyNames" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 719 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 720 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 721 - propertyNames.json: "propertyNames validation" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 722 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 723 - propertyNames.json: "propertyNames validation with pattern" - "matching property names valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 724 - propertyNames.json: "propertyNames validation with pattern" - "non-matching property name is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "/aaA", 335s # "keywordLocation": "/propertyNames/pattern" 335s # }, 335s # { 335s # "error": "not all property names are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/propertyNames" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "/aaA", 335s # "keywordLocation": "/propertyNames/pattern" 335s # }, 335s # { 335s # "error": "not all property names are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/propertyNames" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 725 - propertyNames.json: "propertyNames validation with pattern" - "object without properties is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 726 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 727 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 728 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/propertyNames" 335s # }, 335s # { 335s # "error": "not all property names are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/propertyNames" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "subschema is false", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/propertyNames" 335s # }, 335s # { 335s # "error": "not all property names are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/propertyNames" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 729 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 730 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 731 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 732 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 733 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/additionalProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/additionalProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 734 - recursiveRef.json: "$recursiveRef without using nesting" - "integer matches at the outer level" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 735 - recursiveRef.json: "$recursiveRef without using nesting" - "single level match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 736 - recursiveRef.json: "$recursiveRef without using nesting" - "integer does not match as a property value" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 737 - recursiveRef.json: "$recursiveRef without using nesting" - "two levels, properties match with inner definition" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 738 - recursiveRef.json: "$recursiveRef without using nesting" - "two levels, no match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 739 - recursiveRef.json: "$recursiveRef with nesting" - "integer matches at the outer level" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 740 - recursiveRef.json: "$recursiveRef with nesting" - "single level match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 741 - recursiveRef.json: "$recursiveRef with nesting" - "integer now matches as a property value" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 742 - recursiveRef.json: "$recursiveRef with nesting" - "two levels, properties match with inner definition" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 743 - recursiveRef.json: "$recursiveRef with nesting" - "two levels, properties match with $recursiveRef" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 744 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "integer matches at the outer level" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 745 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "single level match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 746 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "integer does not match as a property value" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 747 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "two levels, properties match with inner definition" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 748 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "two levels, integer does not match as a property value" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 749 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "integer matches at the outer level" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 750 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "single level match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 751 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "integer does not match as a property value" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 752 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "two levels, properties match with inner definition" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 753 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "two levels, integer does not match as a property value" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 335s # "error": "got integer, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 754 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the initial target schema resource" - "leaf node does not match; no recursion" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 335s # "error": "got boolean, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 335s # "error": "got boolean, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 755 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the initial target schema resource" - "leaf node matches: recursion uses the inner schema" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 756 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the initial target schema resource" - "leaf node does not match: recursion uses the inner schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 335s # "error": "got boolean, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 335s # "error": "got boolean, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 757 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the outer schema resource" - "leaf node does not match; no recursion" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 335s # "error": "got boolean, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 335s # "error": "got boolean, not object", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 758 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the outer schema resource" - "leaf node matches: recursion only uses inner schema" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 759 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the outer schema resource" - "leaf node does not match: recursion only uses inner schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 335s # "error": "got boolean, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 335s # "error": "got boolean, not object", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 760 - recursiveRef.json: "multiple dynamic paths to the $recursiveRef keyword" - "recurse to anyLeafNode - floats are allowed" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 761 - recursiveRef.json: "multiple dynamic paths to the $recursiveRef keyword" - "recurse to integerNode - floats are not allowed" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_integerNode.json#/type", 335s # "error": "got number, not one of object, integer", 335s # "instanceLocation": "/november", 335s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_inner.json#/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/$ref/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_main.json#/else", 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_integerNode.json#/type", 335s # "error": "got number, not one of object, integer", 335s # "instanceLocation": "/november", 335s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_inner.json#/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/$ref/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_main.json#/else", 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 762 - recursiveRef.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "numeric node" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 763 - recursiveRef.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "integer node" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/integerNode.json#/type", 335s # "error": "got number, not one of object, integer", 335s # "instanceLocation": "/november", 335s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/inner.json#/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/$ref/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/main.json#/else", 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/integerNode.json#/type", 335s # "error": "got number, not one of object, integer", 335s # "instanceLocation": "/november", 335s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/inner.json#/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else/$ref/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/main.json#/else", 335s # "error": "subschema is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/else" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 764 - ref.json: "root pointer ref" - "match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 765 - ref.json: "root pointer ref" - "recursive match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 766 - ref.json: "root pointer ref" - "mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 767 - ref.json: "root pointer ref" - "recursive mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/additionalProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/additionalProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/additionalProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 768 - ref.json: "relative pointer ref to object" - "match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 769 - ref.json: "relative pointer ref to object" - "mismatch" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/properties/foo/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/properties/foo/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 770 - ref.json: "relative pointer ref to array" - "match array" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 771 - ref.json: "relative pointer ref to array" - "mismatch array" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/items/0/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/1/$ref/type" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/items/0/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/items/1/$ref/type" 335s # }, 335s # { 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 772 - ref.json: "escaped pointer ref" - "slash invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/slash", 335s # "keywordLocation": "/properties/slash/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/slash", 335s # "keywordLocation": "/properties/slash/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 773 - ref.json: "escaped pointer ref" - "tilde invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/tilde", 335s # "keywordLocation": "/properties/tilde/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/tilde", 335s # "keywordLocation": "/properties/tilde/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 774 - ref.json: "escaped pointer ref" - "percent invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/percent", 335s # "keywordLocation": "/properties/percent/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/percent", 335s # "keywordLocation": "/properties/percent/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 775 - ref.json: "escaped pointer ref" - "slash valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 776 - ref.json: "escaped pointer ref" - "tilde valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 777 - ref.json: "escaped pointer ref" - "percent valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 778 - ref.json: "nested refs" - "nested ref valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 779 - ref.json: "nested refs" - "nested ref invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/a/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/a/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 780 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 781 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "array has more than 2 items", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/maxItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "array has more than 2 items", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/maxItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 782 - ref.json: "ref applies alongside sibling keywords" - "ref invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/reffed/type", 335s # "error": "got string, not array", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/reffed/type", 335s # "error": "got string, not array", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 783 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 784 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/nonNegativeInteger/minimum", 335s # "error": "value is less than 0", 335s # "instanceLocation": "/minLength", 335s # "keywordLocation": "/$ref/allOf/2/$ref/properties/minLength/$ref/$ref/minimum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/allOf/2/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/nonNegativeInteger/minimum", 335s # "error": "value is less than 0", 335s # "instanceLocation": "/minLength", 335s # "keywordLocation": "/$ref/allOf/2/$ref/properties/minLength/$ref/$ref/minimum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/allOf/2/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 785 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 786 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/$ref", 335s # "keywordLocation": "/properties/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/$ref", 335s # "keywordLocation": "/properties/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 787 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 788 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/is-string/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/$ref", 335s # "keywordLocation": "/properties/$ref/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/is-string/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/$ref", 335s # "keywordLocation": "/properties/$ref/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 789 - ref.json: "$ref to boolean schema true" - "any value is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 790 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/bool", 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/bool", 335s # "error": "subschema is false", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 791 - ref.json: "Recursive references between schemas" - "valid tree" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 792 - ref.json: "Recursive references between schemas" - "invalid tree" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties/value/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/nodes/0/subtree/nodes/0", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/nodes/0/subtree/nodes", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/nodes/0/subtree", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/nodes/0", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/nodes", 335s # "keywordLocation": "/properties/nodes/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties/value/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/nodes/0/subtree/nodes/0", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/nodes/0/subtree/nodes", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/nodes/0/subtree", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/nodes/0", 335s # "keywordLocation": "/properties/nodes/items/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/nodes", 335s # "keywordLocation": "/properties/nodes/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 793 - ref.json: "refs with quote" - "object with numbers is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 794 - ref.json: "refs with quote" - "object with strings is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "/foo\"bar", 335s # "keywordLocation": "/properties/foo\"bar/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "/foo\"bar", 335s # "keywordLocation": "/properties/foo\"bar/$ref/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 795 - ref.json: "ref creates new scope when adjacent to keywords" - "referenced subschema doesn't see annotations from properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/prop1", 335s # "keywordLocation": "/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/prop1", 335s # "keywordLocation": "/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s 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" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s 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" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/enum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 798 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 799 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 800 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/$ref/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/$ref/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 801 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 802 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo/bar", 335s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 803 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/$ref/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/$ref/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 804 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 805 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 806 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 807 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 808 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id1/int.json#/maximum", 335s # "error": "value is greater than 10", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/maximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id1/int.json#/maximum", 335s # "error": "value is greater than 10", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/maximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 809 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 810 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id2/base.json#/$defs/bigint/maximum", 335s # "error": "value is greater than 10", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/maximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id2/base.json#/$defs/bigint/maximum", 335s # "error": "value is greater than 10", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/maximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 811 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 812 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 335s # "error": "value is less than 30", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/minimum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 335s # "error": "value is less than 30", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/minimum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 813 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 814 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 815 - ref.json: "URN base URI with NSS" - "a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 816 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 817 - ref.json: "URN base URI with r-component" - "a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 818 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 819 - ref.json: "URN base URI with q-component" - "a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 820 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 821 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 822 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 823 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 824 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 825 - ref.json: "URN ref with nested pointer ref" - "a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 826 - ref.json: "URN ref with nested pointer ref" - "a non-string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 827 - ref.json: "ref to if" - "a non-integer is invalid due to the $ref" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 828 - ref.json: "ref to if" - "an integer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 829 - ref.json: "ref to then" - "a non-integer is invalid due to the $ref" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 830 - ref.json: "ref to then" - "an integer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 831 - ref.json: "ref to else" - "a non-integer is invalid due to the $ref" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 832 - ref.json: "ref to else" - "an integer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 833 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 834 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 835 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 836 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 837 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 838 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 839 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 840 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs//$defs//type", 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/$ref/type" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs//$defs//type", 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/$ref/type" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 841 - ref.json: "$ref with $recursiveAnchor" - "extra items allowed for inner arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 842 - ref.json: "$ref with $recursiveAnchor" - "extra items disallowed for root" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 843 - refRemote.json: "remote ref" - "remote ref valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 844 - refRemote.json: "remote ref" - "remote ref invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 845 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 846 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 847 - refRemote.json: "anchor within remote ref" - "remote anchor valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 848 - refRemote.json: "anchor within remote ref" - "remote anchor invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 849 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 850 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 851 - refRemote.json: "base URI change" - "base URI change ref valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 852 - refRemote.json: "base URI change" - "base URI change ref invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/0/0", 335s # "keywordLocation": "/items/items/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChange/#/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/#/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/0/0", 335s # "keywordLocation": "/items/items/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChange/#/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/items/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/#/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 853 - refRemote.json: "base URI change - change folder" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 854 - refRemote.json: "base URI change - change folder" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/list/0", 335s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolder/#/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/list", 335s # "keywordLocation": "/properties/list/$ref/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs1.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/list/0", 335s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolder/#/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/list", 335s # "keywordLocation": "/properties/list/$ref/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs1.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 855 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 856 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/list/0", 335s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolderInSubschema/#/$defs/bar/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/list", 335s # "keywordLocation": "/properties/list/$ref/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs2.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "/list/0", 335s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolderInSubschema/#/$defs/bar/items", 335s # "error": "subschema is not valid against all items", 335s # "instanceLocation": "/list", 335s # "keywordLocation": "/properties/list/$ref/items" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs2.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 857 - refRemote.json: "root ref in remote ref" - "string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 858 - refRemote.json: "root ref in remote ref" - "null is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 859 - refRemote.json: "root ref in remote ref" - "object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf/0/type", 335s # "error": "got object, not null", 335s # "instanceLocation": "/name", 335s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "/name", 335s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/name", 335s # "keywordLocation": "/properties/name/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/object#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf/0/type", 335s # "error": "got object, not null", 335s # "instanceLocation": "/name", 335s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "/name", 335s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "/name", 335s # "keywordLocation": "/properties/name/$ref/anyOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/object#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 860 - refRemote.json: "remote ref with ref to defs" - "invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/$ref/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/$ref/$ref/properties/bar/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 861 - refRemote.json: "remote ref with ref to defs" - "valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 862 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 863 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 864 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/name/foo", 335s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/foo-ref-string.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/name", 335s # "keywordLocation": "/properties/name/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/some-id#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/name/foo", 335s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/foo-ref-string.json#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/name", 335s # "keywordLocation": "/properties/name/$ref/properties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/some-id#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 865 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 866 - refRemote.json: "remote HTTP ref with different $id" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 867 - refRemote.json: "remote HTTP ref with different $id" - "string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 868 - refRemote.json: "remote HTTP ref with different URN $id" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 869 - refRemote.json: "remote HTTP ref with different URN $id" - "string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 870 - refRemote.json: "remote HTTP ref with nested absolute ref" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 871 - refRemote.json: "remote HTTP ref with nested absolute ref" - "string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 872 - refRemote.json: "$ref to $ref finds detached $anchor" - "number is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 873 - refRemote.json: "$ref to $ref finds detached $anchor" - "non-number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/detached-ref.json#/$defs/detached/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/detached-ref.json#/$defs/detached/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/$ref/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 874 - required.json: "required validation" - "present required property is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 875 - required.json: "required validation" - "non-present required property is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing property: foo", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 876 - required.json: "required validation" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 877 - required.json: "required validation" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 878 - required.json: "required validation" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 879 - required.json: "required default validation" - "not required by default" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 880 - required.json: "required with empty array" - "property not required" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 881 - required.json: "required with escaped characters" - "object with all properties present is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 882 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 883 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 884 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 885 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: __proto__, toString, constructor", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: __proto__, toString, constructor", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 886 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: toString, constructor", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: toString, constructor", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 887 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: __proto__, constructor", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: __proto__, constructor", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 888 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: __proto__, toString", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "object is missing properties: __proto__, toString", 335s # "instanceLocation": "", 335s # "keywordLocation": "/required" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 889 - required.json: "required properties whose names are Javascript object property names" - "all present" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 890 - type.json: "integer type matches integers" - "an integer is an integer" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 891 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 892 - type.json: "integer type matches integers" - "a float is not an integer" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got number, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got number, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 893 - type.json: "integer type matches integers" - "a string is not an integer" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 894 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got string, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 895 - type.json: "integer type matches integers" - "an object is not an integer" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got object, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 896 - type.json: "integer type matches integers" - "an array is not an integer" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got array, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got array, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 897 - type.json: "integer type matches integers" - "a boolean is not an integer" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got boolean, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 898 - type.json: "integer type matches integers" - "null is not an integer" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got null, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 335s # "error": "got null, not integer", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 899 - type.json: "number type matches numbers" - "an integer is a number" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 900 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 901 - type.json: "number type matches numbers" - "a float is a number" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 902 - type.json: "number type matches numbers" - "a string is not a number" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 903 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 904 - type.json: "number type matches numbers" - "an object is not a number" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 905 - type.json: "number type matches numbers" - "an array is not a number" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 906 - type.json: "number type matches numbers" - "a boolean is not a number" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 907 - type.json: "number type matches numbers" - "null is not a number" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 908 - type.json: "string type matches strings" - "1 is not a string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 909 - type.json: "string type matches strings" - "a float is not a string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got number, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got number, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 910 - type.json: "string type matches strings" - "a string is a string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 911 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 912 - type.json: "string type matches strings" - "an empty string is still a string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 913 - type.json: "string type matches strings" - "an object is not a string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 914 - type.json: "string type matches strings" - "an array is not a string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got array, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got array, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 915 - type.json: "string type matches strings" - "a boolean is not a string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got boolean, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got boolean, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 916 - type.json: "string type matches strings" - "null is not a string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got null, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got null, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 917 - type.json: "object type matches objects" - "an integer is not an object" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 918 - type.json: "object type matches objects" - "a float is not an object" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 919 - type.json: "object type matches objects" - "a string is not an object" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 920 - type.json: "object type matches objects" - "an object is an object" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 921 - type.json: "object type matches objects" - "an array is not an object" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 922 - type.json: "object type matches objects" - "a boolean is not an object" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 923 - type.json: "object type matches objects" - "null is not an object" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 924 - type.json: "array type matches arrays" - "an integer is not an array" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 925 - type.json: "array type matches arrays" - "a float is not an array" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 926 - type.json: "array type matches arrays" - "a string is not an array" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 927 - type.json: "array type matches arrays" - "an object is not an array" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 928 - type.json: "array type matches arrays" - "an array is an array" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 929 - type.json: "array type matches arrays" - "a boolean is not an array" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 930 - type.json: "array type matches arrays" - "null is not an array" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not array", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 931 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 932 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 933 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 934 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 935 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 936 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 937 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 938 - type.json: "boolean type matches booleans" - "true is a boolean" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 939 - type.json: "boolean type matches booleans" - "false is a boolean" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 940 - type.json: "boolean type matches booleans" - "null is not a boolean" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not boolean", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 941 - type.json: "null type matches only the null object" - "an integer is not null" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 942 - type.json: "null type matches only the null object" - "a float is not null" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 943 - type.json: "null type matches only the null object" - "zero is not null" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 944 - type.json: "null type matches only the null object" - "a string is not null" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 945 - type.json: "null type matches only the null object" - "an empty string is not null" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 946 - type.json: "null type matches only the null object" - "an object is not null" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 947 - type.json: "null type matches only the null object" - "an array is not null" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 948 - type.json: "null type matches only the null object" - "true is not null" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 949 - type.json: "null type matches only the null object" - "false is not null" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 950 - type.json: "null type matches only the null object" - "null is null" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 951 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 952 - type.json: "multiple types can be specified in an array" - "a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 953 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got number, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 954 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got object, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 955 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got array, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 956 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got boolean, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 957 - type.json: "multiple types can be specified in an array" - "null is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not one of integer, string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 958 - type.json: "type as array with one item" - "string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 959 - type.json: "type as array with one item" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not one of string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not one of string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 960 - type.json: "type: array or object" - "array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 961 - type.json: "type: array or object" - "object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 962 - type.json: "type: array or object" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not one of array, object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not one of array, object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 963 - type.json: "type: array or object" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not one of array, object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not one of array, object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 964 - type.json: "type: array or object" - "null is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not one of array, object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got null, not one of array, object", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 965 - type.json: "type: array, object or null" - "array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 966 - type.json: "type: array, object or null" - "object is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 967 - type.json: "type: array, object or null" - "null is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 968 - type.json: "type: array, object or null" - "number is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not one of array, object, null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not one of array, object, null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 969 - type.json: "type: array, object or null" - "string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not one of array, object, null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not one of array, object, null", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 970 - unevaluatedItems.json: "unevaluatedItems true" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 971 - unevaluatedItems.json: "unevaluatedItems true" - "with unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 972 - unevaluatedItems.json: "unevaluatedItems false" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 973 - unevaluatedItems.json: "unevaluatedItems false" - "with unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 974 - unevaluatedItems.json: "unevaluatedItems as schema" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 975 - unevaluatedItems.json: "unevaluatedItems as schema" - "with valid unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 976 - unevaluatedItems.json: "unevaluatedItems as schema" - "with invalid unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 977 - unevaluatedItems.json: "unevaluatedItems with uniform items" - "unevaluatedItems doesn't apply" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 978 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 979 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 980 - unevaluatedItems.json: "unevaluatedItems with items and additionalItems" - "unevaluatedItems doesn't apply" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 981 - unevaluatedItems.json: "unevaluatedItems with ignored additionalItems" - "invalid under unevaluatedItems" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/unevaluatedItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/unevaluatedItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 982 - unevaluatedItems.json: "unevaluatedItems with ignored additionalItems" - "all valid under unevaluatedItems" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 983 - unevaluatedItems.json: "unevaluatedItems with ignored applicator additionalItems" - "invalid under unevaluatedItems" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/unevaluatedItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got integer, not string", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/unevaluatedItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 984 - unevaluatedItems.json: "unevaluatedItems with ignored applicator additionalItems" - "all valid under unevaluatedItems" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 985 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 986 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 987 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with only (valid) additional items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 988 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with no additional items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 989 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with invalid additional item" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not boolean", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not boolean", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems/type" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 990 - unevaluatedItems.json: "unevaluatedItems with nested items and additionalItems" - "with no additional items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 991 - unevaluatedItems.json: "unevaluatedItems with nested items and additionalItems" - "with additional items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 992 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with no additional items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 993 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with additional items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 994 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 995 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 996 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 997 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 998 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 999 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1000 - unevaluatedItems.json: "unevaluatedItems with not" - "with unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1001 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1002 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/3", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1003 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1004 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/4", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/4", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1005 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1006 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1007 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1008 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1009 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1010 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1011 - unevaluatedItems.json: "unevaluatedItems with $recursiveRef" - "with no unevaluated items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1012 - unevaluatedItems.json: "unevaluatedItems with $recursiveRef" - "with unevaluated items" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/1/3", 335s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items", 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/1/3", 335s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "/1", 335s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items", 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/items" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1013 - unevaluatedItems.json: "unevaluatedItems can't see inside cousins" - "always fails" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/allOf/1/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/allOf/1/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1014 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "no extra items" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1015 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "uncle keyword evaluation is not significant" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/foo/1", 335s # "keywordLocation": "/properties/foo/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/unevaluatedItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/foo/1", 335s # "keywordLocation": "/properties/foo/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/unevaluatedItems" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1016 - unevaluatedItems.json: "non-array instances are valid" - "ignores booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1017 - unevaluatedItems.json: "non-array instances are valid" - "ignores integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1018 - unevaluatedItems.json: "non-array instances are valid" - "ignores floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1019 - unevaluatedItems.json: "non-array instances are valid" - "ignores objects" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1020 - unevaluatedItems.json: "non-array instances are valid" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1021 - unevaluatedItems.json: "non-array instances are valid" - "ignores null" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1022 - unevaluatedItems.json: "unevaluatedItems with null instance elements" - "allows null elements" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1023 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "valid in case if is evaluated" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1024 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "invalid in case if is evaluated" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/unevaluatedItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 1025 - unevaluatedProperties.json: "unevaluatedProperties true" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1026 - unevaluatedProperties.json: "unevaluatedProperties true" - "with unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1027 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1028 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with valid unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1029 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with invalid unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 3", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties/minLength" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 3", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties/minLength" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1030 - unevaluatedProperties.json: "unevaluatedProperties false" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1031 - unevaluatedProperties.json: "unevaluatedProperties false" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1032 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1033 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1034 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1035 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1036 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with no additional properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1037 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with additional properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1038 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with no additional properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1039 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with additional properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1040 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with no additional properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1041 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with additional properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1042 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with no additional properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1043 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with additional properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1044 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with no nested unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1045 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with nested unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1046 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1047 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1048 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1049 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1050 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1051 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/quux", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1052 - unevaluatedProperties.json: "unevaluatedProperties with not" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1053 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1054 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1055 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1056 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1057 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has no unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1058 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1059 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1060 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1061 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1062 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1063 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has no unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1064 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1065 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1066 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1067 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1068 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1069 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1070 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1071 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1072 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/baz", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1073 - unevaluatedProperties.json: "unevaluatedProperties with $recursiveRef" - "with no unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1074 - unevaluatedProperties.json: "unevaluatedProperties with $recursiveRef" - "with unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/branches/foo", 335s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/branches", 335s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/branches/foo", 335s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/branches", 335s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1075 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins" - "always fails" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1076 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins (reverse order)" - "always fails" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1077 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with no nested unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1078 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with nested unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1079 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with no nested unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1080 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with nested unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1081 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with no nested unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1082 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with nested unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1083 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with no nested unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1084 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with nested unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1085 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with no nested unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1086 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with nested unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1087 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with no nested unevaluated properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1088 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with nested unevaluated properties" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/1/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 1 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1089 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "no extra properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1090 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "uncle keyword evaluation is not significant" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo/faz", 335s # "keywordLocation": "/properties/foo/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo/faz", 335s # "keywordLocation": "/properties/foo/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/properties/foo/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1091 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "base case: both properties present" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1092 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, bar is missing" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1093 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, foo is missing" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "subschema 0 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1094 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "base case: both properties present" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1095 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, bar is missing" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1096 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, foo is missing" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1097 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Empty is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1098 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Single is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1099 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 1st level is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/y", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/y", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1100 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Nested is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1101 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 2nd level is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/unevaluatedProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/x/y", 335s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/unevaluatedProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/x", 335s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/unevaluatedProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/x/y", 335s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/unevaluatedProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/x", 335s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1102 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Deep nested is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1103 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 3rd level is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/unevaluatedProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/x/x/y", 335s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/unevaluatedProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/x/x", 335s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/x", 335s # "keywordLocation": "/properties/x/$ref/properties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/unevaluatedProperties", 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/x/x/y", 335s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/unevaluatedProperties", 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "/x/x", 335s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "/x", 335s # "keywordLocation": "/properties/x/$ref/properties" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1104 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "Empty is invalid (no x or y)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/required", 335s # "error": "object is missing property: x", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 335s # }, 335s # { 335s # "error": "object is missing property: y", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf" 335s # }, 335s # { 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/required", 335s # "error": "object is missing property: x", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 335s # }, 335s # { 335s # "error": "object is missing property: y", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf" 335s # }, 335s # { 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1105 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b are invalid (no x or y)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/required", 335s # "error": "object is missing property: x", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 335s # }, 335s # { 335s # "error": "object is missing property: y", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf" 335s # }, 335s # { 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/required", 335s # "error": "object is missing property: x", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 335s # }, 335s # { 335s # "error": "object is missing property: y", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf" 335s # }, 335s # { 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1106 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "x and y are invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf" 335s # }, 335s # { 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/x", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/y", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf" 335s # }, 335s # { 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/x", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/y", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1107 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and x are valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1108 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and y are valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1109 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x are valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1110 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and y are valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1111 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x and y are invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf" 335s # }, 335s # { 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/x", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/y", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf/2/oneOf" 335s # }, 335s # { 335s # "error": "subschema 2 is not valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/allOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/x", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/y", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1112 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "Empty is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 335s # "error": "object is missing property: c", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 335s # "error": "object is missing property: d", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 335s # "error": "object is missing property: b", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 335s # "error": "object is missing property: xx", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 335s # "error": "object is missing property: all", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 335s # "error": "object is missing property: c", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 335s # "error": "object is missing property: d", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 335s # "error": "object is missing property: b", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 335s # "error": "object is missing property: xx", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 335s # "error": "object is missing property: all", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1113 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1114 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1115 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1116 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "d is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1117 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + b is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1118 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + c is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1119 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + d is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1120 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + c is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/b", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/c", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/b", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/c", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1121 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + d is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/b", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/d", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/b", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/d", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1122 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c + d is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 335s # "error": "object is missing property: b", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 335s # "error": "object is missing property: xx", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 335s # "error": "object is missing property: all", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/c", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/d", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 335s # "error": "object is missing property: b", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 335s # "error": "object is missing property: xx", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 335s # "error": "object is missing property: all", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/c", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/d", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1123 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1124 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foox is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1125 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foo is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1126 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + a is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1127 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + b is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 1, 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/b", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/xx", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 1, 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/b", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/xx", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1128 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + c is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 0, 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/c", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/xx", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 0, 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/c", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/xx", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1129 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + d is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 0, 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/d", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/xx", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 335s # "error": "multiple subschemas are valid: 0, 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/0/$ref/oneOf" 335s # }, 335s # { 335s # "error": "object is missing property: a", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf/1/required" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/d", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/xx", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1130 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1131 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + foo is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1132 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + a is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "multiple subschemas are valid: 0, 1", 335s # "instanceLocation": "", 335s # "keywordLocation": "/oneOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1133 - unevaluatedProperties.json: "non-object instances are valid" - "ignores booleans" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1134 - unevaluatedProperties.json: "non-object instances are valid" - "ignores integers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1135 - unevaluatedProperties.json: "non-object instances are valid" - "ignores floats" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1136 - unevaluatedProperties.json: "non-object instances are valid" - "ignores arrays" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1137 - unevaluatedProperties.json: "non-object instances are valid" - "ignores strings" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1138 - unevaluatedProperties.json: "non-object instances are valid" - "ignores null" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1139 - unevaluatedProperties.json: "unevaluatedProperties with null valued instance properties" - "allows null valued properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1140 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "allows only number properties" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1141 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "string property is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/a", 335s # "keywordLocation": "/unevaluatedProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "/a", 335s # "keywordLocation": "/unevaluatedProperties/type" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1142 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "valid in case if is evaluated" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1143 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "invalid in case if is evaluated" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1144 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't consider dependentSchemas" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/foo", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1145 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't see bar when foo2 is absent" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/unevaluatedProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/unevaluatedProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1146 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties sees bar when foo2 is present" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 1147 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1148 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1149 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 2 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 2 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1150 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1151 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1152 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1153 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1154 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 2 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 2 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1155 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1156 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1157 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1158 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1159 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1160 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1161 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1162 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 2 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 2 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1163 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1164 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1165 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1166 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1167 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1168 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1169 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1170 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 4 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 4 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1171 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1172 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1173 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1174 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1175 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1176 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1177 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1178 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1179 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1180 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1181 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 2 and 3 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 2 and 3 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1182 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 2 and 3 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 2 and 3 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1183 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1184 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1185 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1186 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "items at indices 0 and 1 are not unique", 335s # "instanceLocation": "", 335s # "keywordLocation": "/uniqueItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1187 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1188 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1189 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1190 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1191 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1192 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1193 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1194 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1195 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1196 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1197 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1198 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1199 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1200 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1201 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1202 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1203 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1204 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1205 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1206 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1207 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1208 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1209 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1210 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1211 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1212 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1213 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1214 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1215 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional item not permitted", 335s # "instanceLocation": "/2", 335s # "keywordLocation": "/additionalItems" 335s # }, 335s # { 335s # "error": "subschema is not valid against all additional items", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 1216 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "applicator vocabulary still works" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 335s # "error": "property not permitted", 335s # "instanceLocation": "/badProperty", 335s # "keywordLocation": "/properties/badProperty" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 335s # "error": "property not permitted", 335s # "instanceLocation": "/badProperty", 335s # "keywordLocation": "/properties/badProperty" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/properties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1217 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: valid number" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1218 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: invalid number, but it still validates" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1219 - vocabulary.json: "ignore unrecognized optional vocabulary" - "string value" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not number", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1220 - vocabulary.json: "ignore unrecognized optional vocabulary" - "number value" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 1221 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "exact match to enum, and type matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1222 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "in implementations that strip $anchor, this may match either $def" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/enum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/enum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 335s # "error": "got object, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1223 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "match $ref to $anchor" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1224 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "no match on enum or $ref to $anchor" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/enum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/enum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 1225 - optional/bignum.json: "integer" - "a bignum is an integer" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1226 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1227 - optional/bignum.json: "number" - "a bignum is a number" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1228 - optional/bignum.json: "number" - "a negative bignum is a number" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1229 - optional/bignum.json: "string" - "a bignum is not a string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/type" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1230 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1231 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMaximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMaximum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1232 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1233 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMinimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 335s # "instanceLocation": "", 335s # "keywordLocation": "/exclusiveMinimum" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 1234 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "first item not a string is invalid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/$ref/prefixItems/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems", 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/prefixItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems/0/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "/0", 335s # "keywordLocation": "/$ref/prefixItems/0/type" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems", 335s # "error": "not all items are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref/prefixItems" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1235 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "first item is a string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1236 - optional/cross-draft.json: "refs to historic drafts are processed as historic drafts" - "missing bar is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 1237 - optional/dependencies-compatibility.json: "single dependency" - "neither" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1238 - optional/dependencies-compatibility.json: "single dependency" - "nondependant" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1239 - optional/dependencies-compatibility.json: "single dependency" - "with dependency" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1240 - optional/dependencies-compatibility.json: "single dependency" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"bar\":2}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":[\"foo\"]}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1241 - optional/dependencies-compatibility.json: "single dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1242 - optional/dependencies-compatibility.json: "single dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1243 - optional/dependencies-compatibility.json: "single dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1244 - optional/dependencies-compatibility.json: "empty dependents" - "empty object" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1245 - optional/dependencies-compatibility.json: "empty dependents" - "object with one property" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1246 - optional/dependencies-compatibility.json: "empty dependents" - "non-object is valid" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1247 - optional/dependencies-compatibility.json: "multiple dependents required" - "neither" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1248 - optional/dependencies-compatibility.json: "multiple dependents required" - "nondependants" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1249 - optional/dependencies-compatibility.json: "multiple dependents required" - "with dependencies" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1250 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"foo\":1,\"quux\":2}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1251 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing other dependency" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"bar\":1,\"quux\":2}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1252 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing both dependencies" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"quux\":1}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1253 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1254 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1255 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF missing dependent" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"foo\":2,\"foo\\nbar\":1}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1256 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"foo\\\"bar\":2}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1257 - optional/dependencies-compatibility.json: "single schema dependency" - "valid" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1258 - optional/dependencies-compatibility.json: "single schema dependency" - "no dependency" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1259 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"bar\":2,\"foo\":\"quux\"}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1260 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type other" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"bar\":\"quux\",\"foo\":2}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1261 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type both" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"bar\":\"quux\",\"foo\":\"quux\"}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1262 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1263 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1264 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1265 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema true is valid" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1266 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema false is invalid" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"bar\":2}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1267 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with both properties is invalid" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"bar\":2,\"foo\":1}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1268 - optional/dependencies-compatibility.json: "boolean subschemas" - "empty object is valid" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1269 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s ok 1270 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"foo'bar\":{\"foo\\\"bar\":1}}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1271 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"a\":2,\"foo\\tbar\":1}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1272 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"foo'bar\":1}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s # 335s ok 1273 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1274 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1275 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1276 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1277 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1278 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1279 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1280 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1281 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "\"߀\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "\"߀\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s 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" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false # 335s 1..1 335s } 335s 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" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected true; got false 335s # data: "\"߀\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s 1..1 335s } 335s 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" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected true; got false 335s # data: "\"߀\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s 1..1 335s } 335s ok 1287 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true # 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "\"é\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s 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" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false # 335s 1..1 335s } 335s 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" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected true; got false 335s # data: "\"é\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s 1..1 335s } 335s ok 1291 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1292 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1293 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1294 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1295 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1296 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected true; got false 335s # data: "\"\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s 1..1 335s } 335s ok 1297 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1298 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1299 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1300 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1301 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1302 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1303 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1304 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1305 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1306 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "\"\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1308 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1309 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1310 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1311 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1312 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1313 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1314 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1315 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1316 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1317 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # 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.\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"\\\\wcole\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # 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.\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"\\\\wcole\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1320 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1321 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1322 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1323 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1324 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1325 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "\"৪২\"" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\d+$\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1327 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1328 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1329 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1330 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1331 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1332 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1333 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/L'ÉCOLE", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/L'ÉCOLE", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1334 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"l'école\":\"pas de vraie vie\"}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"l'école\":\"pas de vraie vie\"}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1337 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/L'ÉCOLE", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/L'ÉCOLE", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1338 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/l'école", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/l'école", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1339 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/l'école", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/l'école", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1340 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1341 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1342 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/-%#", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/-%#", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s 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" 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected false; got true 335s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 335s # result: { 335s # "valid": true 335s # } 335s 1..1 335s } 335s ok 1344 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1345 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/-%#", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "additional property not permitted", 335s # "instanceLocation": "/-%#", 335s # "keywordLocation": "/additionalProperties" 335s # }, 335s # { 335s # "error": "not all additional properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/additionalProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1346 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 1347 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 1348 - optional/id.json: "$id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1349 - optional/id.json: "$id inside an enum is not a real identifier" - "match $ref to $id" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1350 - optional/id.json: "$id inside an enum is not a real identifier" - "no match on enum or $ref to $id" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/enum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/id/my_identifier.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 335s # "error": "value does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/enum" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/id/my_identifier.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 1351 - optional/no-schema.json: "validation without $schema" - "a 3-character string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1352 - optional/no-schema.json: "validation without $schema" - "a 1-character string is not valid" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "length is less than 2", 335s # "instanceLocation": "", 335s # "keywordLocation": "/minLength" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1353 - optional/no-schema.json: "validation without $schema" - "a non-string is valid" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s # 335s ok 1354 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1355 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1356 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1357 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1358 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1359 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1360 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "pattern does not match", 335s # "instanceLocation": "", 335s # "keywordLocation": "/pattern" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1361 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1362 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1363 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1364 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/🐲", 335s # "keywordLocation": "/patternProperties/^🐲*$/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/🐲", 335s # "keywordLocation": "/patternProperties/^🐲*$/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1365 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/🐲🐲", 335s # "keywordLocation": "/patternProperties/^🐲*$/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "got string, not integer", 335s # "instanceLocation": "/🐲🐲", 335s # "keywordLocation": "/patternProperties/^🐲*$/type" 335s # }, 335s # { 335s # "error": "not all properties are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/patternProperties" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s ok 1366 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "match" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected true; got false 335s # data: "{\"bar\":3}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/unknown-keyword\"}},\"unknown-keyword\":{\"type\":\"integer\"}}" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s 1..1 335s } 335s ok 1367 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "mismatch" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false # 335s 1..1 335s } 335s ok 1368 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "match" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected true; got false 335s # data: "{\"bar\":3}" 335s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/properties/foo/unknown-keyword\"},\"foo\":{\"unknown-keyword\":{\"type\":\"integer\"}}}}" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s 1..1 335s } 335s ok 1369 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "mismatch" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 335s # "instanceLocation": "/bar", 335s # "keywordLocation": "/properties/bar/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false # 335s 1..1 335s } 335s ok 1370 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "match" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "/base#/$ref", 335s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "/base#/$ref", 335s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s not ok 1 - evaluation result is incorrect # 335s # Failed test (with amnesty) 'evaluation result is incorrect' 335s # at t/zzz-acceptance-draft2019-09.t line 52. 335s # expected true; got false 335s # data: "\"a string\"" 335s # schema: "{\"$id\":\"/base\",\"$ref\":\"#/examples/0\",\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"examples\":[{\"type\":\"string\"}]}" 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "/base#/$ref", 335s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s 1..1 335s } 335s ok 1371 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "mismatch" { # TODO Test marked TODO via "todo_tests" 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "/base#/$ref", 335s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "/base#/$ref", 335s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 335s # "instanceLocation": "", 335s # "keywordLocation": "/$ref" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false # 335s 1..1 335s } 335s # 335s 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" { 335s # result: { 335s # "valid": true 335s # } 335s # short-circuited result: { 335s # "valid": true 335s # } 335s ok 1 - test passes: data is valid: true 335s 1..1 335s } 335s ok 1373 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/not" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/not" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 335s # "error": "got null, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/2/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/not" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/not" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 335s # "error": "got null, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/2/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s ok 1374 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 335s # result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/not" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/not" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/2/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s # short-circuited result: { 335s # "errors": [ 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/0/$ref/not" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 335s # "error": "subschema is valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/1/$ref/not" 335s # }, 335s # { 335s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 335s # "error": "got integer, not string", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf/2/$ref/type" 335s # }, 335s # { 335s # "error": "no subschemas are valid", 335s # "instanceLocation": "", 335s # "keywordLocation": "/anyOf" 335s # } 335s # ], 335s # "valid": false 335s # } 335s ok 1 - test passes: data is valid: false 335s 1..1 335s } 335s # 335s # 335s # generated with: Test::JSON::Schema::Acceptance 1.026 335s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 335s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 335s # specification version: draft2019-09 335s # optional tests included: yes 335s # skipping directory: optional/format 335s # 335s # filename pass todo-fail fail 335s # --------------------------------------------------------------- 335s # additionalItems.json 20 0 0 335s # additionalProperties.json 21 0 0 335s # allOf.json 30 0 0 335s # anchor.json 8 0 0 335s # anyOf.json 18 0 0 335s # boolean_schema.json 18 0 0 335s # const.json 50 0 0 335s # contains.json 21 0 0 335s # content.json 18 0 0 335s # default.json 7 0 0 335s # defs.json 2 0 0 335s # dependentRequired.json 20 0 0 335s # dependentSchemas.json 20 0 0 335s # enum.json 45 0 0 335s # exclusiveMaximum.json 4 0 0 335s # exclusiveMinimum.json 4 0 0 335s # format.json 114 0 0 335s # if-then-else.json 26 0 0 335s # infinite-loop-detection.json 2 0 0 335s # items.json 28 0 0 335s # maxContains.json 12 0 0 335s # maxItems.json 6 0 0 335s # maxLength.json 7 0 0 335s # maxProperties.json 10 0 0 335s # maximum.json 8 0 0 335s # minContains.json 28 0 0 335s # minItems.json 6 0 0 335s # minLength.json 7 0 0 335s # minProperties.json 8 0 0 335s # minimum.json 11 0 0 335s # multipleOf.json 10 0 0 335s # not.json 40 0 0 335s # oneOf.json 27 0 0 335s # pattern.json 9 0 0 335s # patternProperties.json 23 0 0 335s # properties.json 28 0 0 335s # propertyNames.json 13 0 0 335s # recursiveRef.json 34 0 0 335s # ref.json 79 0 0 335s # refRemote.json 31 0 0 335s # required.json 16 0 0 335s # type.json 80 0 0 335s # unevaluatedItems.json 55 0 0 335s # unevaluatedProperties.json 122 0 0 335s # uniqueItems.json 69 0 0 335s # vocabulary.json 5 0 0 335s # optional/anchor.json 4 0 0 335s # optional/bignum.json 9 0 0 335s # optional/cross-draft.json 3 0 0 335s # optional/dependencies-compatibility.json 22 14 0 335s # optional/ecmascript-regex.json 60 14 0 335s # optional/float-overflow.json 1 0 0 335s # optional/id.json 3 0 0 335s # optional/no-schema.json 3 0 0 335s # optional/non-bmp-regex.json 12 0 0 335s # optional/refOfUnknownKeyword.json 3 3 0 335s # optional/unknownKeyword.json 3 0 0 335s # --------------------------------------------------------------- 335s # TOTAL 1343 31 0 335s # 335s # Congratulations, all non-optional tests are passing! 335s # 335s ok 1375 - no leaks in the main evaluator object 335s ok 1376 - no leaks in the short-circuiting evaluator object 335s 1..1376 335s ok 339s t/zzz-acceptance-draft2020-12-format.t .. 339s # AUTHOR_TESTING: 339s # AUTOMATED_TESTING: 1 339s # EXTENDED_TESTING: 339s # NO_TODO: 339s # TEST_DIR: 339s # NO_SHORT_CIRCUIT: 339s # 339s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2020-12/optional/format against draft2020-12... 339s # 339s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date-time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 26 - date.json: "validation of date strings" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 27 - date.json: "validation of date strings" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 28 - date.json: "validation of date strings" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 29 - date.json: "validation of date strings" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 30 - date.json: "validation of date strings" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 31 - date.json: "validation of date strings" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 32 - date.json: "validation of date strings" - "a valid date string" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 33 - date.json: "validation of date strings" - "a valid date string with 31 days in January" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 34 - date.json: "validation of date strings" - "a invalid date string with 32 days in January" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 35 - date.json: "validation of date strings" - "a valid date string with 28 days in February (normal)" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 36 - date.json: "validation of date strings" - "a invalid date string with 29 days in February (normal)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 37 - date.json: "validation of date strings" - "a valid date string with 29 days in February (leap)" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 38 - date.json: "validation of date strings" - "a invalid date string with 30 days in February (leap)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 39 - date.json: "validation of date strings" - "a valid date string with 31 days in March" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 40 - date.json: "validation of date strings" - "a invalid date string with 32 days in March" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 41 - date.json: "validation of date strings" - "a valid date string with 30 days in April" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 42 - date.json: "validation of date strings" - "a invalid date string with 31 days in April" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 43 - date.json: "validation of date strings" - "a valid date string with 31 days in May" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 44 - date.json: "validation of date strings" - "a invalid date string with 32 days in May" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 45 - date.json: "validation of date strings" - "a valid date string with 30 days in June" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 46 - date.json: "validation of date strings" - "a invalid date string with 31 days in June" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 47 - date.json: "validation of date strings" - "a valid date string with 31 days in July" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 48 - date.json: "validation of date strings" - "a invalid date string with 32 days in July" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 49 - date.json: "validation of date strings" - "a valid date string with 31 days in August" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 50 - date.json: "validation of date strings" - "a invalid date string with 32 days in August" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 51 - date.json: "validation of date strings" - "a valid date string with 30 days in September" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 52 - date.json: "validation of date strings" - "a invalid date string with 31 days in September" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 53 - date.json: "validation of date strings" - "a valid date string with 31 days in October" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 54 - date.json: "validation of date strings" - "a invalid date string with 32 days in October" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 55 - date.json: "validation of date strings" - "a valid date string with 30 days in November" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 56 - date.json: "validation of date strings" - "a invalid date string with 31 days in November" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 57 - date.json: "validation of date strings" - "a valid date string with 31 days in December" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 58 - date.json: "validation of date strings" - "a invalid date string with 32 days in December" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 59 - date.json: "validation of date strings" - "a invalid date string with invalid month" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 60 - date.json: "validation of date strings" - "an invalid date string" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 61 - date.json: "validation of date strings" - "only RFC3339 not all of ISO 8601 are valid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 62 - date.json: "validation of date strings" - "non-padded month dates are not valid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 63 - date.json: "validation of date strings" - "non-padded day dates are not valid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 64 - date.json: "validation of date strings" - "invalid month" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 65 - date.json: "validation of date strings" - "invalid month-day combination" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 66 - date.json: "validation of date strings" - "2021 is not a leap year" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 67 - date.json: "validation of date strings" - "2020 is a leap year" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 68 - date.json: "validation of date strings" - "invalid non-ASCII '৪' (a Bengali 4)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 69 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 70 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 71 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 72 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid date", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 73 - duration.json: "validation of duration strings" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 74 - duration.json: "validation of duration strings" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 75 - duration.json: "validation of duration strings" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 76 - duration.json: "validation of duration strings" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 77 - duration.json: "validation of duration strings" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 78 - duration.json: "validation of duration strings" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 79 - duration.json: "validation of duration strings" - "a valid duration string" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 80 - duration.json: "validation of duration strings" - "an invalid duration string" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 81 - duration.json: "validation of duration strings" - "no elements present" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 82 - duration.json: "validation of duration strings" - "no time elements present" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 83 - duration.json: "validation of duration strings" - "no date or time elements present" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 84 - duration.json: "validation of duration strings" - "elements out of order" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 85 - duration.json: "validation of duration strings" - "missing time separator" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 86 - duration.json: "validation of duration strings" - "time element in the date position" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 87 - duration.json: "validation of duration strings" - "four years duration" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 88 - duration.json: "validation of duration strings" - "zero time, in seconds" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 89 - duration.json: "validation of duration strings" - "zero time, in days" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 90 - duration.json: "validation of duration strings" - "one month duration" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 91 - duration.json: "validation of duration strings" - "one minute duration" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 92 - duration.json: "validation of duration strings" - "one and a half days, in hours" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 93 - duration.json: "validation of duration strings" - "one and a half days, in days and hours" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 94 - duration.json: "validation of duration strings" - "two weeks" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 95 - duration.json: "validation of duration strings" - "weeks cannot be combined with other units" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 96 - duration.json: "validation of duration strings" - "invalid non-ASCII '২' (a Bengali 2)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 97 - duration.json: "validation of duration strings" - "element without unit" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid duration", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 98 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 99 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 100 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 101 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 102 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 103 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 104 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 105 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 106 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 107 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 108 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 109 - email.json: "validation of e-mail addresses" - "a quoted string with a space in the local part is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 110 - email.json: "validation of e-mail addresses" - "a quoted string with a double dot in the local part is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 111 - email.json: "validation of e-mail addresses" - "a quoted string with a @ in the local part is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 112 - email.json: "validation of e-mail addresses" - "an IPv4-address-literal after the @ is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 113 - email.json: "validation of e-mail addresses" - "an IPv6-address-literal after the @ is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 114 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 115 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 116 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 117 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 118 - email.json: "validation of e-mail addresses" - "an invalid domain" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected false; got true 339s # data: "\"joe.bloggs@invalid=domain.com\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"email\"}" 339s # result: { 339s # "valid": true 339s # } 339s 1..1 339s } 339s ok 119 - email.json: "validation of e-mail addresses" - "an invalid IPv4-address-literal" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected false; got true 339s # data: "\"joe.bloggs@[127.0.0.300]\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"email\"}" 339s # result: { 339s # "valid": true 339s # } 339s 1..1 339s } 339s # 339s ok 120 - hostname.json: "validation of host names" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 121 - hostname.json: "validation of host names" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 122 - hostname.json: "validation of host names" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 123 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 124 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 125 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 126 - hostname.json: "validation of host names" - "a valid host name" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 127 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 128 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 129 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 130 - hostname.json: "validation of host names" - "a host name with a component too long" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 131 - hostname.json: "validation of host names" - "starts with hyphen" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 132 - hostname.json: "validation of host names" - "ends with hyphen" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 133 - hostname.json: "validation of host names" - "starts with underscore" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 134 - hostname.json: "validation of host names" - "ends with underscore" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 135 - hostname.json: "validation of host names" - "contains underscore" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 136 - hostname.json: "validation of host names" - "maximum label length" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 137 - hostname.json: "validation of host names" - "exceeds maximum label length" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 138 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"hostname\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 139 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"host-name\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 140 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"h0stn4me\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 141 - hostname.json: "validation of host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"1host\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 142 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"hostnam3\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s # 339s ok 143 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 144 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 145 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 146 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 147 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 148 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 149 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid idn e-mail (example@example.test in Hangul)" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 150 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid idn e-mail address" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 151 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid e-mail address" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 152 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid e-mail address" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-email", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 153 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 154 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 155 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 156 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 157 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 158 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s 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" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s 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" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected false; got true 339s # data: "\"실〮례.테스트\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "valid": true 339s # } 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 163 - idn-hostname.json: "validation of internationalized host names" - "invalid label, correct Punycode" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 164 - idn-hostname.json: "validation of internationalized host names" - "valid Chinese Punycode" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"xn--ihqwcrb4cv8a8dqg056pqjye\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 165 - idn-hostname.json: "validation of internationalized host names" - "invalid Punycode" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 167 - idn-hostname.json: "validation of internationalized host names" - "U-label starts with a dash" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 168 - idn-hostname.json: "validation of internationalized host names" - "U-label ends with a dash" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 170 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Spacing Combining Mark" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 171 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Nonspacing Mark" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 172 - idn-hostname.json: "validation of internationalized host names" - "Begins with an Enclosing Mark" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"ßς་〇\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"Û½Û¾\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 177 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no preceding 'l'" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 178 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing preceding" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 179 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no following 'l'" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 180 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing following" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 181 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with surrounding 'l's" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"l·l\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 182 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by Greek" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 183 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by anything" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 184 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA followed by Greek" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"α͵β\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 185 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 186 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by anything" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 187 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"א׳ב\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 188 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 189 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by anything" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 190 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"א״ב\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 192 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no other characters" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 193 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Hiragana" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"・ぁ\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 194 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Katakana" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"・ァ\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 195 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Han" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"・丈\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"ب٠ب\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"Û°0\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 199 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by Virama" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 200 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by anything" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false # 339s 1..1 339s } 339s ok 201 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"क्‍ष\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 202 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"क्‌ष\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s 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" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"بي‌بي\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 204 - idn-hostname.json: "validation of internationalized host names" - "single label" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"hostname\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 205 - idn-hostname.json: "validation of internationalized host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"host-name\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 206 - idn-hostname.json: "validation of internationalized host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"h0stn4me\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 207 - idn-hostname.json: "validation of internationalized host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"1host\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s ok 208 - idn-hostname.json: "validation of internationalized host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected true; got false 339s # data: "\"hostnam3\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid idn-hostname", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s 1..1 339s } 339s # 339s ok 209 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 210 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 211 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 212 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 213 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 214 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 215 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 216 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 217 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 218 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 219 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 220 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 221 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 222 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 223 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 224 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv4", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 225 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 226 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 227 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 228 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 229 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 230 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 231 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 232 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 233 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 234 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 235 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 236 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 237 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 238 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 239 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 240 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 241 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 242 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 243 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 244 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 245 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 246 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 247 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 248 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 249 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 250 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 251 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 252 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 253 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 254 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 255 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 256 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 257 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 258 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 259 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 260 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 261 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 262 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 263 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 264 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid ipv6", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 265 - iri-reference.json: "validation of IRI References" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 266 - iri-reference.json: "validation of IRI References" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 267 - iri-reference.json: "validation of IRI References" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 268 - iri-reference.json: "validation of IRI References" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 269 - iri-reference.json: "validation of IRI References" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 270 - iri-reference.json: "validation of IRI References" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 271 - iri-reference.json: "validation of IRI References" - "a valid IRI" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 272 - iri-reference.json: "validation of IRI References" - "a valid protocol-relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 273 - iri-reference.json: "validation of IRI References" - "a valid relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 274 - iri-reference.json: "validation of IRI References" - "an invalid IRI Reference" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected false; got true 339s # data: "\"\\\\\\\\WINDOWS\\\\filëßåré\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"iri-reference\"}" 339s # result: { 339s # "valid": true 339s # } 339s 1..1 339s } 339s ok 275 - iri-reference.json: "validation of IRI References" - "a valid IRI Reference" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 276 - iri-reference.json: "validation of IRI References" - "a valid IRI fragment" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 277 - iri-reference.json: "validation of IRI References" - "an invalid IRI fragment" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected false; got true 339s # data: "\"#ƒräg\\\\mênt\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"iri-reference\"}" 339s # result: { 339s # "valid": true 339s # } 339s 1..1 339s } 339s # 339s ok 278 - iri.json: "validation of IRIs" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 279 - iri.json: "validation of IRIs" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 280 - iri.json: "validation of IRIs" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 281 - iri.json: "validation of IRIs" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 282 - iri.json: "validation of IRIs" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 283 - iri.json: "validation of IRIs" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 284 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 285 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag and parentheses" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 286 - iri.json: "validation of IRIs" - "a valid IRI with URL-encoded stuff" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 287 - iri.json: "validation of IRIs" - "a valid IRI with many special characters" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 288 - iri.json: "validation of IRIs" - "a valid IRI based on IPv6" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 289 - iri.json: "validation of IRIs" - "an invalid IRI based on IPv6" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected false; got true 339s # data: "\"http://2001:0db8:85a3:0000:0000:8a2e:0370:7334\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"iri\"}" 339s # result: { 339s # "valid": true 339s # } 339s 1..1 339s } 339s ok 290 - iri.json: "validation of IRIs" - "an invalid relative IRI Reference" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid iri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid iri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 291 - iri.json: "validation of IRIs" - "an invalid IRI" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid iri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid iri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 292 - iri.json: "validation of IRIs" - "an invalid IRI though valid IRI reference" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid iri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid iri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 293 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 294 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 295 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 296 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 297 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 298 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 299 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 300 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 301 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 302 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 303 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 304 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 305 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 306 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 307 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 308 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 309 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 310 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 311 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 312 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 313 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 314 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 315 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 316 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 317 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 318 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 319 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 320 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 321 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 322 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 323 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 324 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 325 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 326 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 327 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 328 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 329 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 330 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 331 - regex.json: "validation of regular expressions" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 332 - regex.json: "validation of regular expressions" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 333 - regex.json: "validation of regular expressions" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 334 - regex.json: "validation of regular expressions" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 335 - regex.json: "validation of regular expressions" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 336 - regex.json: "validation of regular expressions" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 337 - regex.json: "validation of regular expressions" - "a valid regular expression" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 338 - regex.json: "validation of regular expressions" - "a regular expression with unclosed parens is invalid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid regex", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid regex", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 339 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 340 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 341 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 342 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 343 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 344 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 345 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid upwards RJP" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 346 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid downwards RJP" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 347 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid up and then down RJP, with array index" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 348 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid RJP taking the member or index name" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 349 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "an invalid RJP that is a valid JSON Pointer" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 350 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "negative prefix" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 351 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "explicit positive prefix" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 352 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "\#\# is not a valid json-pointer" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 353 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus json-pointer" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 354 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus octothorpe" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 355 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "empty string" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid relative-json-pointer", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 356 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "multi-digit integer prefix" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s # 339s ok 357 - time.json: "validation of time strings" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 358 - time.json: "validation of time strings" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 359 - time.json: "validation of time strings" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 360 - time.json: "validation of time strings" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 361 - time.json: "validation of time strings" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 362 - time.json: "validation of time strings" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 363 - time.json: "validation of time strings" - "a valid time string" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 364 - time.json: "validation of time strings" - "invalid time string with extra leading zeros" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 365 - time.json: "validation of time strings" - "invalid time string with no leading zero for single digit" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 366 - time.json: "validation of time strings" - "hour, minute, second must be two digits" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 367 - time.json: "validation of time strings" - "a valid time string with leap second, Zulu" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 368 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 369 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 370 - time.json: "validation of time strings" - "valid leap second, zero time-offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 371 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong hour)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 372 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong minute)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 373 - time.json: "validation of time strings" - "valid leap second, positive time-offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 374 - time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 375 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 376 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 377 - time.json: "validation of time strings" - "valid leap second, negative time-offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 378 - time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 379 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 380 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 381 - time.json: "validation of time strings" - "a valid time string with second fraction" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 382 - time.json: "validation of time strings" - "a valid time string with precise second fraction" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 383 - time.json: "validation of time strings" - "a valid time string with plus offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 384 - time.json: "validation of time strings" - "a valid time string with minus offset" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 385 - time.json: "validation of time strings" - "hour, minute in time-offset must be two digits" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 386 - time.json: "validation of time strings" - "a valid time string with case-insensitive Z" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 387 - time.json: "validation of time strings" - "an invalid time string with invalid hour" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 388 - time.json: "validation of time strings" - "an invalid time string with invalid minute" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 389 - time.json: "validation of time strings" - "an invalid time string with invalid second" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 390 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong hour)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 391 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong minute)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 392 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset hour" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 393 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset minute" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 394 - time.json: "validation of time strings" - "an invalid time string with invalid time with both Z and numoffset" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 395 - time.json: "validation of time strings" - "an invalid offset indicator" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 396 - time.json: "validation of time strings" - "only RFC3339 not all of ISO 8601 are valid" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 397 - time.json: "validation of time strings" - "no time offset" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 398 - time.json: "validation of time strings" - "no time offset with second fraction" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 399 - time.json: "validation of time strings" - "invalid non-ASCII '২' (a Bengali 2)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 400 - time.json: "validation of time strings" - "offset not starting with plus or minus" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 401 - time.json: "validation of time strings" - "contains letters" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid time", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 402 - unknown.json: "unknown format" - "unknown formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 403 - unknown.json: "unknown format" - "unknown formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 404 - unknown.json: "unknown format" - "unknown formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 405 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 406 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 407 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 408 - unknown.json: "unknown format" - "unknown formats ignore strings" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s # 339s ok 409 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 410 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 411 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 412 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 413 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 414 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 415 - uri-reference.json: "validation of URI References" - "a valid URI" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 416 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 417 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 418 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri-reference", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri-reference", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 419 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 420 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 421 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri-reference", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri-reference", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s # 339s ok 422 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 423 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 424 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 425 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 426 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 427 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 428 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 429 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected false; got true 339s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"uri-template\"}" 339s # result: { 339s # "valid": true 339s # } 339s 1..1 339s } 339s ok 430 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s ok 431 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true # 339s 1..1 339s } 339s # 339s ok 432 - uri.json: "validation of URIs" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 433 - uri.json: "validation of URIs" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 434 - uri.json: "validation of URIs" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 435 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 436 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 437 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 438 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 439 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 440 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 441 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 442 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 443 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 444 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 445 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 446 - uri.json: "validation of URIs" - "a valid URL " { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 447 - uri.json: "validation of URIs" - "a valid mailto URI" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 448 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 449 - uri.json: "validation of URIs" - "a valid tel URI" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 450 - uri.json: "validation of URIs" - "a valid URN" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 451 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 452 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 453 - uri.json: "validation of URIs" - "an invalid URI" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 454 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 455 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 456 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uri", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 457 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s not ok 1 - evaluation result is incorrect # 339s # Failed test (with amnesty) 'evaluation result is incorrect' 339s # at t/zzz-acceptance-draft2020-12-format.t line 68. 339s # expected false; got true 339s # data: "\"bar,baz:foo\"" 339s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"uri\"}" 339s # result: { 339s # "valid": true 339s # } 339s 1..1 339s } 339s # 339s ok 458 - uuid.json: "uuid format" - "all string formats ignore integers" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 459 - uuid.json: "uuid format" - "all string formats ignore floats" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 460 - uuid.json: "uuid format" - "all string formats ignore objects" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 461 - uuid.json: "uuid format" - "all string formats ignore arrays" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 462 - uuid.json: "uuid format" - "all string formats ignore booleans" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 463 - uuid.json: "uuid format" - "all string formats ignore nulls" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 464 - uuid.json: "uuid format" - "all upper-case" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 465 - uuid.json: "uuid format" - "all lower-case" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 466 - uuid.json: "uuid format" - "mixed case" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 467 - uuid.json: "uuid format" - "all zeroes is valid" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 468 - uuid.json: "uuid format" - "wrong length" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 469 - uuid.json: "uuid format" - "missing section" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 470 - uuid.json: "uuid format" - "bad characters (not hex)" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 471 - uuid.json: "uuid format" - "no dashes" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 472 - uuid.json: "uuid format" - "too few dashes" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 473 - uuid.json: "uuid format" - "too many dashes" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 474 - uuid.json: "uuid format" - "dashes in the wrong spot" { 339s # result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s # short-circuited result: { 339s # "errors": [ 339s # { 339s # "error": "not a valid uuid", 339s # "instanceLocation": "", 339s # "keywordLocation": "/format" 339s # } 339s # ], 339s # "valid": false 339s # } 339s ok 1 - test passes: data is valid: false 339s 1..1 339s } 339s ok 475 - uuid.json: "uuid format" - "valid version 4" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 476 - uuid.json: "uuid format" - "valid version 5" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 477 - uuid.json: "uuid format" - "hypothetical version 6" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s ok 478 - uuid.json: "uuid format" - "hypothetical version 15" { 339s # result: { 339s # "valid": true 339s # } 339s # short-circuited result: { 339s # "valid": true 339s # } 339s ok 1 - test passes: data is valid: true 339s 1..1 339s } 339s # 339s # 339s # generated with: Test::JSON::Schema::Acceptance 1.026 339s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 339s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 339s # specification version: draft2020-12 339s # using custom test directory: /optional/format 339s # optional tests included: yes 339s # 339s # filename pass todo-fail fail 339s # --------------------------------------------------------------- 339s # date-time.json 25 0 0 339s # date.json 47 0 0 339s # duration.json 25 0 0 339s # email.json 20 2 0 339s # hostname.json 18 5 0 339s # idn-email.json 10 0 0 339s # idn-hostname.json 35 21 0 339s # ipv4.json 16 0 0 339s # ipv6.json 40 0 0 339s # iri-reference.json 11 2 0 339s # iri.json 14 1 0 339s # json-pointer.json 38 0 0 339s # regex.json 8 0 0 339s # relative-json-pointer.json 18 0 0 339s # time.json 45 0 0 339s # unknown.json 7 0 0 339s # uri-reference.json 13 0 0 339s # uri-template.json 9 1 0 339s # uri.json 25 1 0 339s # uuid.json 21 0 0 339s # --------------------------------------------------------------- 339s # TOTAL 445 33 0 339s # 339s # Congratulations, all non-optional tests are passing! 339s # 339s ok 479 - no leaks in the main evaluator object 339s ok 480 - no leaks in the short-circuiting evaluator object 339s 1..480 339s ok 353s t/zzz-acceptance-draft2020-12.t ......... 353s # AUTHOR_TESTING: 353s # AUTOMATED_TESTING: 1 353s # EXTENDED_TESTING: 353s # NO_TODO: 353s # TEST_DIR: 353s # NO_SHORT_CIRCUIT: 353s # 353s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 353s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2020-12 against draft2020-12... 353s # 353s ok 1 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 2 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 3 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 4 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 5 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 6 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 7 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 8 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/élmény", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/élmény", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 9 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 10 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 11 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 12 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 13 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 14 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 15 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 16 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 17 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against both keywords" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 18 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against propertyNames, but not additionalProperties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/pear", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/pear", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 19 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties doesn't consider dependentSchemas" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 20 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 21 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar even when foo2 is present" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 22 - allOf.json: "allOf" - "allOf" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 23 - allOf.json: "allOf" - "mismatch second" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/required" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/required" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 24 - allOf.json: "allOf" - "mismatch first" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/required" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/required" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 25 - allOf.json: "allOf" - "wrong type" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/properties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/properties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 26 - allOf.json: "allOf with base schema" - "valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 27 - allOf.json: "allOf with base schema" - "mismatch base schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 28 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/required" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/required" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 29 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: baz", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/required" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: baz", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/required" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 30 - allOf.json: "allOf with base schema" - "mismatch both" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/required" 353s # }, 353s # { 353s # "error": "object is missing property: baz", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/required" 353s # }, 353s # { 353s # "error": "subschemas 0, 1 are not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/required" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 31 - allOf.json: "allOf simple types" - "valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 32 - allOf.json: "allOf simple types" - "mismatch one" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 30", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/maximum" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 30", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/maximum" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 33 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 34 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 35 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0" 353s # }, 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1" 353s # }, 353s # { 353s # "error": "subschemas 0, 1 are not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 36 - allOf.json: "allOf with one empty schema" - "any data is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 37 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 38 - allOf.json: "allOf with the first empty schema" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 39 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/type" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/type" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 40 - allOf.json: "allOf with the last empty schema" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 41 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/type" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/type" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 42 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 43 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/allOf/0/type" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/allOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/allOf/0/type" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/allOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 44 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 5", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 45 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 46 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 5", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 47 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 48 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 5", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 49 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 50 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 5", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 5", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/multipleOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 51 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 52 - anchor.json: "Location-independent identifier" - "match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 53 - anchor.json: "Location-independent identifier" - "mismatch" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/A/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/A/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 54 - anchor.json: "Location-independent identifier with absolute URI" - "match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 55 - anchor.json: "Location-independent identifier with absolute URI" - "mismatch" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/bar#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/bar#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 56 - anchor.json: "Location-independent identifier with base URI change in subschema" - "match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 57 - anchor.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested.json#/$defs/B/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested.json#/$defs/B/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 58 - anchor.json: "same $anchor with different base uri" - "$ref resolves to /$defs/A/allOf/1" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 59 - anchor.json: "same $anchor with different base uri" - "$ref does not resolve to /$defs/A/allOf/0" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/child1#/allOf/1/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/child1#/allOf/1/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 60 - anyOf.json: "anyOf" - "first anyOf valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 61 - anyOf.json: "anyOf" - "second anyOf valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 62 - anyOf.json: "anyOf" - "both anyOf valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 63 - anyOf.json: "anyOf" - "neither anyOf valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/type" 353s # }, 353s # { 353s # "error": "value is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/minimum" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/type" 353s # }, 353s # { 353s # "error": "value is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/minimum" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 64 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 65 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 66 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "length is greater than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/maxLength" 353s # }, 353s # { 353s # "error": "length is less than 4", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/minLength" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "length is greater than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/maxLength" 353s # }, 353s # { 353s # "error": "length is less than 4", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/minLength" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 67 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 68 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 69 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0" 353s # }, 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0" 353s # }, 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 70 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 71 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 72 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 73 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/anyOf/0/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/properties" 353s # }, 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/anyOf/1/properties/foo/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/properties" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/anyOf/0/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/properties" 353s # }, 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/anyOf/1/properties/foo/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/properties" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 74 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 75 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 76 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 77 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/anyOf/0/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/anyOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/anyOf/0/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/anyOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 78 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 79 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 80 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 81 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 82 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 83 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 84 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 85 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 86 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 87 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 88 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 89 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 90 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 91 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 92 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 93 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 94 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 95 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 96 - const.json: "const validation" - "same value is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 97 - const.json: "const validation" - "another value is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 98 - const.json: "const validation" - "another type is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 99 - const.json: "const with object" - "same object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 100 - const.json: "const with object" - "same object with different property order is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 101 - const.json: "const with object" - "another object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 102 - const.json: "const with object" - "another type is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 103 - const.json: "const with array" - "same array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 104 - const.json: "const with array" - "another array item is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs object)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs object)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 105 - const.json: "const with array" - "array with additional items is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 106 - const.json: "const with null" - "null is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 107 - const.json: "const with null" - "not null is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 108 - const.json: "const with false does not match 0" - "false is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 109 - const.json: "const with false does not match 0" - "integer zero is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 110 - const.json: "const with false does not match 0" - "float zero is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 111 - const.json: "const with true does not match 1" - "true is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 112 - const.json: "const with true does not match 1" - "integer one is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 113 - const.json: "const with true does not match 1" - "float one is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 114 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 115 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 116 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 117 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 118 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 119 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 120 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 121 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 122 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 123 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 124 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 125 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 126 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 127 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 128 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 129 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 130 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 131 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 132 - const.json: "const with 1 does not match true" - "true is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 133 - const.json: "const with 1 does not match true" - "integer one is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 134 - const.json: "const with 1 does not match true" - "float one is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 135 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 136 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 137 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 138 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 139 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 140 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 141 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 142 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 143 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 144 - const.json: "nul characters in strings" - "match string with nul" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 145 - const.json: "nul characters in strings" - "do not match string lacking nul" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/const" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 146 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 147 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 148 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 149 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than 5", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/minimum" 353s # }, 353s # { 353s # "error": "value is less than 5", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/contains/minimum" 353s # }, 353s # { 353s # "error": "value is less than 5", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/contains/minimum" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than 5", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/minimum" 353s # }, 353s # { 353s # "error": "value is less than 5", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/contains/minimum" 353s # }, 353s # { 353s # "error": "value is less than 5", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/contains/minimum" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 150 - contains.json: "contains keyword validation" - "empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 151 - contains.json: "contains keyword validation" - "not array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 152 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 153 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 154 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 155 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 156 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 157 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 158 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 159 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 160 - contains.json: "items + contains" - "matches items, does not match contains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/multipleOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/contains/multipleOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/contains/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/multipleOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/contains/multipleOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/contains/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 161 - contains.json: "items + contains" - "does not match items, matches contains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/multipleOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/items/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 162 - contains.json: "items + contains" - "matches both items and contains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 163 - contains.json: "items + contains" - "matches neither items nor contains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/multipleOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/multipleOf" 353s # }, 353s # { 353s # "error": "value is not a multiple of 3", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/contains/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 164 - contains.json: "contains with false if subschema" - "any non-empty array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 165 - contains.json: "contains with false if subschema" - "empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 166 - contains.json: "contains with null instance elements" - "allows null items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 167 - content.json: "validation of string-encoded content based on media type" - "a valid JSON document" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 168 - content.json: "validation of string-encoded content based on media type" - "an invalid JSON document; validates true" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 169 - content.json: "validation of string-encoded content based on media type" - "ignores non-strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 170 - content.json: "validation of binary string-encoding" - "a valid base64 string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 171 - content.json: "validation of binary string-encoding" - "an invalid base64 string (% is not a valid character); validates true" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 172 - content.json: "validation of binary string-encoding" - "ignores non-strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 173 - content.json: "validation of binary-encoded media type documents" - "a valid base64-encoded JSON document" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 174 - content.json: "validation of binary-encoded media type documents" - "a validly-encoded invalid JSON document; validates true" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 175 - content.json: "validation of binary-encoded media type documents" - "an invalid base64 string that is valid JSON; validates true" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 176 - content.json: "validation of binary-encoded media type documents" - "ignores non-strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 177 - content.json: "validation of binary-encoded media type documents with schema" - "a valid base64-encoded JSON document" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 178 - content.json: "validation of binary-encoded media type documents with schema" - "another valid base64-encoded JSON document" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 179 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64-encoded JSON document; validates true" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 180 - content.json: "validation of binary-encoded media type documents with schema" - "an empty object as a base64-encoded JSON document; validates true" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 181 - content.json: "validation of binary-encoded media type documents with schema" - "an empty array as a base64-encoded JSON document" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 182 - content.json: "validation of binary-encoded media type documents with schema" - "a validly-encoded invalid JSON document; validates true" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 183 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64 string that is valid JSON; validates true" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 184 - content.json: "validation of binary-encoded media type documents with schema" - "ignores non-strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 185 - default.json: "invalid type for default" - "valid when property is specified" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 186 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 187 - default.json: "invalid string value for default" - "valid when property is specified" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 188 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 3", 353s # "instanceLocation": "/alpha", 353s # "keywordLocation": "/properties/alpha/maximum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 3", 353s # "instanceLocation": "/alpha", 353s # "keywordLocation": "/properties/alpha/maximum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 192 - defs.json: "validate definition against metaschema" - "valid definition schema" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 193 - defs.json: "validate definition against metaschema" - "invalid definition schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/simpleTypes/enum", 353s # "error": "value does not match", 353s # "instanceLocation": "/$defs/foo/type", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/0/$ref/enum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf/1/type", 353s # "error": "got integer, not array", 353s # "instanceLocation": "/$defs/foo/type", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/1/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "/$defs/foo/type", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/$defs/foo", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 353s # "error": "subschema 3 is not valid", 353s # "instanceLocation": "/$defs/foo", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties/$defs/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/$defs", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/simpleTypes/enum", 353s # "error": "value does not match", 353s # "instanceLocation": "/$defs/foo/type", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/0/$ref/enum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf/1/type", 353s # "error": "got integer, not array", 353s # "instanceLocation": "/$defs/foo/type", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/1/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "/$defs/foo/type", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/$defs/foo", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 353s # "error": "subschema 3 is not valid", 353s # "instanceLocation": "/$defs/foo", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties/$defs/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/$defs", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 194 - dependentRequired.json: "single dependency" - "neither" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 195 - dependentRequired.json: "single dependency" - "nondependant" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 196 - dependentRequired.json: "single dependency" - "with dependency" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 197 - dependentRequired.json: "single dependency" - "missing dependency" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/bar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/bar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 198 - dependentRequired.json: "single dependency" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 199 - dependentRequired.json: "single dependency" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 200 - dependentRequired.json: "single dependency" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 201 - dependentRequired.json: "empty dependents" - "empty object" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 202 - dependentRequired.json: "empty dependents" - "object with one property" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 203 - dependentRequired.json: "empty dependents" - "non-object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 204 - dependentRequired.json: "multiple dependents required" - "neither" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 205 - dependentRequired.json: "multiple dependents required" - "nondependants" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 206 - dependentRequired.json: "multiple dependents required" - "with dependencies" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 207 - dependentRequired.json: "multiple dependents required" - "missing dependency" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/quux" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/quux" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 208 - dependentRequired.json: "multiple dependents required" - "missing other dependency" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/quux" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/quux" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 209 - dependentRequired.json: "multiple dependents required" - "missing both dependencies" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: foo, bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/quux" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: foo, bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/quux" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 210 - dependentRequired.json: "dependencies with escaped characters" - "CRLF" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 211 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 212 - dependentRequired.json: "dependencies with escaped characters" - "CRLF missing dependent" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo\rbar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/foo\nbar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo\rbar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/foo\nbar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 213 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo'bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/foo\"bar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo'bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired/foo\"bar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentRequired" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 214 - dependentSchemas.json: "single dependency" - "valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 215 - dependentSchemas.json: "single dependency" - "no dependency" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 216 - dependentSchemas.json: "single dependency" - "wrong type" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar/properties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar/properties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 217 - dependentSchemas.json: "single dependency" - "wrong type other" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar/properties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar/properties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 218 - dependentSchemas.json: "single dependency" - "wrong type both" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 353s # }, 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar/properties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar/properties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 219 - dependentSchemas.json: "single dependency" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 220 - dependentSchemas.json: "single dependency" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 221 - dependentSchemas.json: "single dependency" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 222 - dependentSchemas.json: "boolean subschemas" - "object with property having schema true is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 223 - dependentSchemas.json: "boolean subschemas" - "object with property having schema false is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 224 - dependentSchemas.json: "boolean subschemas" - "object with both properties is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/bar" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 225 - dependentSchemas.json: "boolean subschemas" - "empty object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 226 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 227 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo\"bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo'bar/required" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo\"bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo'bar/required" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 228 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab invalid under dependent schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object has fewer than 4 properties", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object has fewer than 4 properties", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 229 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote invalid under dependent schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo\"bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo'bar/required" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo\"bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo'bar/required" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 230 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches root" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 231 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches dependency" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 232 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches both" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 353s # }, 353s # { 353s # "error": "not all dependencies are satisfied", 353s # "instanceLocation": "", 353s # "keywordLocation": "/dependentSchemas" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 233 - dependentSchemas.json: "dependent subschema incompatible with root" - "no dependency" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/$ref/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/list#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/$ref/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/list#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 242 - dynamicRef.json: "A $dynamicRef without anchor in fragment behaves identical to $ref" - "An array of strings is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/$defs/items/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/$ref/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/$defs/items/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/$ref/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/$defs/items/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/$ref/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 243 - dynamicRef.json: "A $dynamicRef without anchor in fragment behaves identical to $ref" - "An array of numbers is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/$ref/$ref/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/list#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/root#/$defs/foo/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/$ref/$ref/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/list#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 246 - dynamicRef.json: "An $anchor with the same name as a $dynamicAnchor is not used for dynamic scope resolution" - "Any array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties/foo/const", 353s # "error": "value does not match", 353s # "instanceLocation": "/bar/baz/foo", 353s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties/foo/const" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/bar/baz", 353s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/bar#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/$ref/properties/bar/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/extended#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties/foo/const", 353s # "error": "value does not match", 353s # "instanceLocation": "/bar/baz/foo", 353s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties/foo/const" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/bar/baz", 353s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/bar#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/$ref/properties/bar/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/extended#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 252 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "number list with number values" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 253 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "number list with string values" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/numberList#/$defs/itemType/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "/list/0", 353s # "keywordLocation": "/then/$ref/$ref/properties/list/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/list", 353s # "keywordLocation": "/then/$ref/$ref/properties/list/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/$ref/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/then", 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/numberList#/$defs/itemType/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "/list/0", 353s # "keywordLocation": "/then/$ref/$ref/properties/list/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/list", 353s # "keywordLocation": "/then/$ref/$ref/properties/list/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/$ref/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/then", 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 254 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "string list with number values" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/stringList#/$defs/itemType/type", 353s # "error": "got number, not string", 353s # "instanceLocation": "/list/0", 353s # "keywordLocation": "/else/$ref/$ref/properties/list/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/list", 353s # "keywordLocation": "/else/$ref/$ref/properties/list/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/$ref/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/else", 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/stringList#/$defs/itemType/type", 353s # "error": "got number, not string", 353s # "instanceLocation": "/list/0", 353s # "keywordLocation": "/else/$ref/$ref/properties/list/items/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/list", 353s # "keywordLocation": "/else/$ref/$ref/properties/list/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/$ref/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/else", 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 255 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "string list with string values" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 353s # "error": "got string, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/$ref/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 353s # "error": "got string, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/$ref/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/$ref/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/$ref/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 259 - dynamicRef.json: "strict-tree schema, guards against misspelled properties" - "instance with misspelled field" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/children/0/daat", 353s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/children/0", 353s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties/children/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/children", 353s # "keywordLocation": "/$ref/properties/children/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/children", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/children/0/daat", 353s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/children/0", 353s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties/children/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/children", 353s # "keywordLocation": "/$ref/properties/children/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/children", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 260 - dynamicRef.json: "strict-tree schema, guards against misspelled properties" - "instance with correct field" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 261 - dynamicRef.json: "tests for implementation dynamic anchor and reference link" - "incorrect parent schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 353s # "error": "object is missing property: elements", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/a", 353s # "keywordLocation": "/$ref/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 353s # "error": "object is missing property: elements", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 262 - dynamicRef.json: "tests for implementation dynamic anchor and reference link" - "incorrect extended schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/required", 353s # "error": "object is missing property: a", 353s # "instanceLocation": "/elements/0", 353s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/additionalProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/elements/0/b", 353s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/elements/0", 353s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/elements", 353s # "keywordLocation": "/$ref/properties/elements/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/required", 353s # "error": "object is missing property: a", 353s # "instanceLocation": "/elements/0", 353s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/elements", 353s # "keywordLocation": "/$ref/properties/elements/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 263 - dynamicRef.json: "tests for implementation dynamic anchor and reference link" - "correct extended schema" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 264 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $defs first" - "incorrect parent schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 353s # "error": "object is missing property: elements", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/$ref/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/a", 353s # "keywordLocation": "/allOf/0/$ref/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/$ref/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 353s # "error": "object is missing property: elements", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/$ref/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 265 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $defs first" - "incorrect extended schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/required", 353s # "error": "object is missing property: a", 353s # "instanceLocation": "/elements/0", 353s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/additionalProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/elements/0/b", 353s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/elements/0", 353s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/elements", 353s # "keywordLocation": "/allOf/0/$ref/properties/elements/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/required", 353s # "error": "object is missing property: a", 353s # "instanceLocation": "/elements/0", 353s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/elements", 353s # "keywordLocation": "/allOf/0/$ref/properties/elements/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 266 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $defs first" - "correct extended schema" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 267 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $ref first" - "incorrect parent schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 353s # "error": "object is missing property: elements", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/$ref/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/a", 353s # "keywordLocation": "/allOf/1/$ref/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/$ref/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 353s # "error": "object is missing property: elements", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/$ref/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 268 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $ref first" - "incorrect extended schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/required", 353s # "error": "object is missing property: a", 353s # "instanceLocation": "/elements/0", 353s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/additionalProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/elements/0/b", 353s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/elements/0", 353s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/elements", 353s # "keywordLocation": "/allOf/1/$ref/properties/elements/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/required", 353s # "error": "object is missing property: a", 353s # "instanceLocation": "/elements/0", 353s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/elements", 353s # "keywordLocation": "/allOf/1/$ref/properties/elements/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 269 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $ref first" - "correct extended schema" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 270 - dynamicRef.json: "$ref to $dynamicRef finds detached $dynamicAnchor" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 271 - dynamicRef.json: "$ref to $dynamicRef finds detached $dynamicAnchor" - "non-number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-dynamicref.json#/$defs/detached/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$dynamicRef/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-dynamicref.json#/$defs/detached/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$dynamicRef/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 272 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a true schema" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 273 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a false schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/false", 353s # "error": "subschema is false", 353s # "instanceLocation": "/false", 353s # "keywordLocation": "/properties/false/$dynamicRef" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/false", 353s # "error": "subschema is false", 353s # "instanceLocation": "/false", 353s # "keywordLocation": "/properties/false/$dynamicRef" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 274 - dynamicRef.json: "$dynamicRef skips over intermediate resources - direct reference" - "integer property passes" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 275 - dynamicRef.json: "$dynamicRef skips over intermediate resources - direct reference" - "string property fails" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/$defs/defaultContent/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar-item/content", 353s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/bar-item", 353s # "keywordLocation": "/properties/bar-item/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/main#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/$defs/defaultContent/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar-item/content", 353s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/bar-item", 353s # "keywordLocation": "/properties/bar-item/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/main#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 276 - enum.json: "simple enum validation" - "one of the enum is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 277 - enum.json: "simple enum validation" - "something else is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 278 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 279 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 280 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 353s # result: { 353s # "errors": [ 353s # { 353s # "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)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "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)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 281 - enum.json: "heterogeneous enum validation" - "valid object matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 282 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 283 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 284 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 285 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 286 - enum.json: "enums in properties" - "both properties are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 287 - enum.json: "enums in properties" - "wrong foo value" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/enum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/enum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 288 - enum.json: "enums in properties" - "wrong bar value" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/enum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/enum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 289 - enum.json: "enums in properties" - "missing optional property is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 290 - enum.json: "enums in properties" - "missing required property is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 291 - enum.json: "enums in properties" - "missing all properties is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 292 - enum.json: "enum with escaped characters" - "member 1 is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 293 - enum.json: "enum with escaped characters" - "member 2 is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 294 - enum.json: "enum with escaped characters" - "another string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 295 - enum.json: "enum with false does not match 0" - "false is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 296 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 297 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 298 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 299 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 300 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 301 - enum.json: "enum with true does not match 1" - "true is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 302 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 303 - enum.json: "enum with true does not match 1" - "float one is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 304 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 305 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 306 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 307 - enum.json: "enum with 0 does not match false" - "false is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 308 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 309 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 310 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 311 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 312 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 313 - enum.json: "enum with 1 does not match true" - "true is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 314 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 315 - enum.json: "enum with 1 does not match true" - "float one is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 316 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 317 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 318 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 319 - enum.json: "nul characters in strings" - "match string with nul" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 320 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 321 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 322 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than or equal to 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMaximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than or equal to 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMaximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 323 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than or equal to 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMaximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than or equal to 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMaximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 324 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 325 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 326 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than or equal to 1.1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMinimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than or equal to 1.1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMinimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 327 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than or equal to 1.1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMinimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than or equal to 1.1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMinimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 328 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 329 - format.json: "email format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 330 - format.json: "email format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 331 - format.json: "email format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 332 - format.json: "email format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 333 - format.json: "email format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 334 - format.json: "email format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 335 - format.json: "email format" - "invalid email string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 336 - format.json: "idn-email format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 337 - format.json: "idn-email format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 338 - format.json: "idn-email format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 339 - format.json: "idn-email format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 340 - format.json: "idn-email format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 341 - format.json: "idn-email format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 342 - format.json: "idn-email format" - "invalid idn-email string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 343 - format.json: "regex format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 344 - format.json: "regex format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 345 - format.json: "regex format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 346 - format.json: "regex format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 347 - format.json: "regex format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 348 - format.json: "regex format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 349 - format.json: "regex format" - "invalid regex string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 350 - format.json: "ipv4 format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 351 - format.json: "ipv4 format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 352 - format.json: "ipv4 format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 353 - format.json: "ipv4 format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 354 - format.json: "ipv4 format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 355 - format.json: "ipv4 format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 356 - format.json: "ipv4 format" - "invalid ipv4 string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 357 - format.json: "ipv6 format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 358 - format.json: "ipv6 format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 359 - format.json: "ipv6 format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 360 - format.json: "ipv6 format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 361 - format.json: "ipv6 format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 362 - format.json: "ipv6 format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 363 - format.json: "ipv6 format" - "invalid ipv6 string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 364 - format.json: "idn-hostname format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 365 - format.json: "idn-hostname format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 366 - format.json: "idn-hostname format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 367 - format.json: "idn-hostname format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 368 - format.json: "idn-hostname format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 369 - format.json: "idn-hostname format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 370 - format.json: "idn-hostname format" - "invalid idn-hostname string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 371 - format.json: "hostname format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 372 - format.json: "hostname format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 373 - format.json: "hostname format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 374 - format.json: "hostname format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 375 - format.json: "hostname format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 376 - format.json: "hostname format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 377 - format.json: "hostname format" - "invalid hostname string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 378 - format.json: "date format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 379 - format.json: "date format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 380 - format.json: "date format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 381 - format.json: "date format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 382 - format.json: "date format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 383 - format.json: "date format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 384 - format.json: "date format" - "invalid date string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 385 - format.json: "date-time format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 386 - format.json: "date-time format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 387 - format.json: "date-time format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 388 - format.json: "date-time format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 389 - format.json: "date-time format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 390 - format.json: "date-time format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 391 - format.json: "date-time format" - "invalid date-time string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 392 - format.json: "time format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 393 - format.json: "time format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 394 - format.json: "time format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 395 - format.json: "time format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 396 - format.json: "time format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 397 - format.json: "time format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 398 - format.json: "time format" - "invalid time string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 399 - format.json: "json-pointer format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 400 - format.json: "json-pointer format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 401 - format.json: "json-pointer format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 402 - format.json: "json-pointer format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 403 - format.json: "json-pointer format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 404 - format.json: "json-pointer format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 405 - format.json: "json-pointer format" - "invalid json-pointer string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 406 - format.json: "relative-json-pointer format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 407 - format.json: "relative-json-pointer format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 408 - format.json: "relative-json-pointer format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 409 - format.json: "relative-json-pointer format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 410 - format.json: "relative-json-pointer format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 411 - format.json: "relative-json-pointer format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 412 - format.json: "relative-json-pointer format" - "invalid relative-json-pointer string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 413 - format.json: "iri format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 414 - format.json: "iri format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 415 - format.json: "iri format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 416 - format.json: "iri format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 417 - format.json: "iri format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 418 - format.json: "iri format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 419 - format.json: "iri format" - "invalid iri string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 420 - format.json: "iri-reference format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 421 - format.json: "iri-reference format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 422 - format.json: "iri-reference format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 423 - format.json: "iri-reference format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 424 - format.json: "iri-reference format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 425 - format.json: "iri-reference format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 426 - format.json: "iri-reference format" - "invalid iri-reference string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 427 - format.json: "uri format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 428 - format.json: "uri format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 429 - format.json: "uri format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 430 - format.json: "uri format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 431 - format.json: "uri format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 432 - format.json: "uri format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 433 - format.json: "uri format" - "invalid uri string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 434 - format.json: "uri-reference format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 435 - format.json: "uri-reference format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 436 - format.json: "uri-reference format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 437 - format.json: "uri-reference format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 438 - format.json: "uri-reference format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 439 - format.json: "uri-reference format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 440 - format.json: "uri-reference format" - "invalid uri-reference string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 441 - format.json: "uri-template format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 442 - format.json: "uri-template format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 443 - format.json: "uri-template format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 444 - format.json: "uri-template format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 445 - format.json: "uri-template format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 446 - format.json: "uri-template format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 447 - format.json: "uri-template format" - "invalid uri-template string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 448 - format.json: "uuid format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 449 - format.json: "uuid format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 450 - format.json: "uuid format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 451 - format.json: "uuid format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 452 - format.json: "uuid format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 453 - format.json: "uuid format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 454 - format.json: "uuid format" - "invalid uuid string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 455 - format.json: "duration format" - "all string formats ignore integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 456 - format.json: "duration format" - "all string formats ignore floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 457 - format.json: "duration format" - "all string formats ignore objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 458 - format.json: "duration format" - "all string formats ignore arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 459 - format.json: "duration format" - "all string formats ignore booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 460 - format.json: "duration format" - "all string formats ignore nulls" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 461 - format.json: "duration format" - "invalid duration string is only an annotation by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 462 - if-then-else.json: "ignore if without then or else" - "valid when valid against lone if" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 463 - if-then-else.json: "ignore if without then or else" - "valid when invalid against lone if" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 464 - if-then-else.json: "ignore then without if" - "valid when valid against lone then" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 465 - if-then-else.json: "ignore then without if" - "valid when invalid against lone then" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 466 - if-then-else.json: "ignore else without if" - "valid when valid against lone else" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 467 - if-then-else.json: "ignore else without if" - "valid when invalid against lone else" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 468 - if-then-else.json: "if and then without else" - "valid through then" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 469 - if-then-else.json: "if and then without else" - "invalid through then" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than -10", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/minimum" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than -10", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/minimum" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 470 - if-then-else.json: "if and then without else" - "valid when if test fails" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 471 - if-then-else.json: "if and else without then" - "valid when if test passes" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 472 - if-then-else.json: "if and else without then" - "valid through else" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 473 - if-then-else.json: "if and else without then" - "invalid through else" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 474 - if-then-else.json: "validate against correct branch, then vs else" - "valid through then" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 475 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through then" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than -10", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/minimum" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than -10", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/minimum" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 476 - if-then-else.json: "validate against correct branch, then vs else" - "valid through else" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 477 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through else" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 478 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through then" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 479 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through else" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 480 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (valid)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 481 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (invalid)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/const" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/const" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 482 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (invalid)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/const" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/const" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 483 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (valid)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 484 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "yes redirects to then and passes" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 485 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "other redirects to else and passes" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 486 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "no redirects to then and fails" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/const" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then/const" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/then" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 487 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "invalid redirects to else and fails" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/const" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else/const" 353s # }, 353s # { 353s # "error": "subschema is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/else" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/int/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/int/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/additionalProperties" 353s # }, 353s # { 353s # "error": "subschemas 0, 1 are not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/int/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/properties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 490 - items.json: "a schema given for items" - "valid items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 491 - items.json: "a schema given for items" - "wrong type of items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 492 - items.json: "a schema given for items" - "ignores non-arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 493 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 494 - items.json: "items with boolean schema (true)" - "any array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 495 - items.json: "items with boolean schema (true)" - "empty array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 496 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 497 - items.json: "items with boolean schema (false)" - "empty array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 498 - items.json: "items and subitems" - "valid items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 499 - items.json: "items and subitems" - "too many items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 500 - items.json: "items and subitems" - "too many sub-items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/item/items", 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0/2", 353s # "keywordLocation": "/prefixItems/0/$ref/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/item/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/prefixItems/0/$ref/items" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/item/items", 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0/2", 353s # "keywordLocation": "/prefixItems/0/$ref/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/item/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/prefixItems/0/$ref/items" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 501 - items.json: "items and subitems" - "wrong item" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/item/type", 353s # "error": "got object, not array", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/prefixItems/0/$ref/type" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/item/type", 353s # "error": "got object, not array", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/prefixItems/0/$ref/type" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 502 - items.json: "items and subitems" - "wrong sub-item" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "/0/0", 353s # "keywordLocation": "/prefixItems/0/$ref/prefixItems/0/$ref/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/item/prefixItems", 353s # "error": "not all items are valid", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/prefixItems/0/$ref/prefixItems" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "/0/0", 353s # "keywordLocation": "/prefixItems/0/$ref/prefixItems/0/$ref/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/item/prefixItems", 353s # "error": "not all items are valid", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/prefixItems/0/$ref/prefixItems" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 503 - items.json: "items and subitems" - "fewer items is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 504 - items.json: "nested items" - "valid nested array" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 505 - items.json: "nested items" - "nested array with invalid type" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/0/0/0/0", 353s # "keywordLocation": "/items/items/items/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0/0/0", 353s # "keywordLocation": "/items/items/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0/0", 353s # "keywordLocation": "/items/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/0/0/0/0", 353s # "keywordLocation": "/items/items/items/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0/0/0", 353s # "keywordLocation": "/items/items/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0/0", 353s # "keywordLocation": "/items/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 506 - items.json: "nested items" - "not deep enough" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not array", 353s # "instanceLocation": "/0/0/0", 353s # "keywordLocation": "/items/items/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0/0", 353s # "keywordLocation": "/items/items/items" 353s # }, 353s # { 353s # "error": "got integer, not array", 353s # "instanceLocation": "/0/1/0", 353s # "keywordLocation": "/items/items/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0/1", 353s # "keywordLocation": "/items/items/items" 353s # }, 353s # { 353s # "error": "got integer, not array", 353s # "instanceLocation": "/0/2/0", 353s # "keywordLocation": "/items/items/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0/2", 353s # "keywordLocation": "/items/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/items" 353s # }, 353s # { 353s # "error": "got integer, not array", 353s # "instanceLocation": "/1/0/0", 353s # "keywordLocation": "/items/items/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/1/0", 353s # "keywordLocation": "/items/items/items" 353s # }, 353s # { 353s # "error": "got integer, not array", 353s # "instanceLocation": "/1/1/0", 353s # "keywordLocation": "/items/items/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/1/1", 353s # "keywordLocation": "/items/items/items" 353s # }, 353s # { 353s # "error": "got integer, not array", 353s # "instanceLocation": "/1/2/0", 353s # "keywordLocation": "/items/items/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/1/2", 353s # "keywordLocation": "/items/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not array", 353s # "instanceLocation": "/0/0/0", 353s # "keywordLocation": "/items/items/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0/0", 353s # "keywordLocation": "/items/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 507 - items.json: "prefixItems with no additional items allowed" - "empty array" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 508 - items.json: "prefixItems with no additional items allowed" - "fewer number of items present (1)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 509 - items.json: "prefixItems with no additional items allowed" - "fewer number of items present (2)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 510 - items.json: "prefixItems with no additional items allowed" - "equal number of items present" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 511 - items.json: "prefixItems with no additional items allowed" - "additional items are not permitted" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 512 - items.json: "items does not look in applicators, valid case" - "prefixItems in allOf does not constrain items, invalid case" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than 5", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/minimum" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than 5", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/minimum" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 513 - items.json: "items does not look in applicators, valid case" - "prefixItems in allOf does not constrain items, valid case" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 514 - items.json: "prefixItems validation adjusts the starting index for items" - "valid items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 515 - items.json: "prefixItems validation adjusts the starting index for items" - "wrong type of second item" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 516 - items.json: "items with heterogeneous array" - "heterogeneous invalid instance" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 517 - items.json: "items with heterogeneous array" - "valid instance" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 518 - items.json: "items with null instance elements" - "allows null elements" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 519 - maxContains.json: "maxContains without contains is ignored" - "one item valid against lone maxContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 520 - maxContains.json: "maxContains without contains is ignored" - "two items still valid against lone maxContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 521 - maxContains.json: "maxContains with contains" - "empty data" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 522 - maxContains.json: "maxContains with contains" - "all elements match, valid maxContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 523 - maxContains.json: "maxContains with contains" - "all elements match, invalid maxContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 524 - maxContains.json: "maxContains with contains" - "some elements match, valid maxContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 525 - maxContains.json: "maxContains with contains" - "some elements match, invalid maxContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 526 - maxContains.json: "maxContains with contains, value with a decimal" - "one element matches, valid maxContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 527 - maxContains.json: "maxContains with contains, value with a decimal" - "too many elements match, invalid maxContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 528 - maxContains.json: "minContains < maxContains" - "actual < minContains < maxContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "array contains fewer than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 529 - maxContains.json: "minContains < maxContains" - "minContains < actual < maxContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 530 - maxContains.json: "minContains < maxContains" - "minContains < maxContains < actual" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 3 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 3 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 531 - maxItems.json: "maxItems validation" - "shorter is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 532 - maxItems.json: "maxItems validation" - "exact length is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 533 - maxItems.json: "maxItems validation" - "too long is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array has more than 2 items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array has more than 2 items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 534 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 535 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 536 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array has more than 2 items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array has more than 2 items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 537 - maxLength.json: "maxLength validation" - "shorter is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 538 - maxLength.json: "maxLength validation" - "exact length is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 539 - maxLength.json: "maxLength validation" - "too long is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "length is greater than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "length is greater than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 540 - maxLength.json: "maxLength validation" - "ignores non-strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 541 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 542 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 543 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "length is greater than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "length is greater than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 544 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 545 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 546 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object has more than 2 properties", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object has more than 2 properties", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 547 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 548 - maxProperties.json: "maxProperties validation" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 549 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 550 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 551 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object has more than 2 properties", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object has more than 2 properties", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 552 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 553 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object has more than 0 property", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object has more than 0 property", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 554 - maximum.json: "maximum validation" - "below the maximum is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 555 - maximum.json: "maximum validation" - "boundary point is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 556 - maximum.json: "maximum validation" - "above the maximum is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 3", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 557 - maximum.json: "maximum validation" - "ignores non-numbers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 558 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 559 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 560 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 561 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 300", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 300", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 562 - minContains.json: "minContains without contains is ignored" - "one item valid against lone minContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 563 - minContains.json: "minContains without contains is ignored" - "zero items still valid against lone minContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 564 - minContains.json: "minContains=1 with contains" - "empty data" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "array contains fewer than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 565 - minContains.json: "minContains=1 with contains" - "no elements match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "array contains fewer than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/const" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 566 - minContains.json: "minContains=1 with contains" - "single element matches, valid minContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 567 - minContains.json: "minContains=1 with contains" - "some elements match, valid minContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 568 - minContains.json: "minContains=1 with contains" - "all elements match, valid minContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 569 - minContains.json: "minContains=2 with contains" - "empty data" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 570 - minContains.json: "minContains=2 with contains" - "all elements match, invalid minContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 571 - minContains.json: "minContains=2 with contains" - "some elements match, invalid minContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 572 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (exactly as needed)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 573 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (more than needed)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 574 - minContains.json: "minContains=2 with contains" - "some elements match, valid minContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 575 - minContains.json: "minContains=2 with contains with a decimal value" - "one element matches, invalid minContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 576 - minContains.json: "minContains=2 with contains with a decimal value" - "both elements match, valid minContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 577 - minContains.json: "maxContains = minContains" - "empty data" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 578 - minContains.json: "maxContains = minContains" - "all elements match, invalid minContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 579 - minContains.json: "maxContains = minContains" - "all elements match, invalid maxContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 2 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 580 - minContains.json: "maxContains = minContains" - "all elements match, valid maxContains and minContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 581 - minContains.json: "maxContains < minContains" - "empty data" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "array contains fewer than 3 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 582 - minContains.json: "maxContains < minContains" - "invalid minContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 3 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains fewer than 3 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 583 - minContains.json: "maxContains < minContains" - "invalid maxContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 584 - minContains.json: "maxContains < minContains" - "invalid maxContains and minContains" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # }, 353s # { 353s # "error": "array contains fewer than 3 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 585 - minContains.json: "minContains = 0" - "empty data" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 586 - minContains.json: "minContains = 0" - "minContains = 0 makes contains always pass" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 587 - minContains.json: "minContains = 0 with maxContains" - "empty data" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 588 - minContains.json: "minContains = 0 with maxContains" - "not more than maxContains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 589 - minContains.json: "minContains = 0 with maxContains" - "too many" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array contains more than 1 matching items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/maxContains" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 590 - minItems.json: "minItems validation" - "longer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 591 - minItems.json: "minItems validation" - "exact length is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 592 - minItems.json: "minItems validation" - "too short is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array has fewer than 1 item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array has fewer than 1 item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 593 - minItems.json: "minItems validation" - "ignores non-arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 594 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 595 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array has fewer than 1 item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array has fewer than 1 item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 596 - minLength.json: "minLength validation" - "longer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 597 - minLength.json: "minLength validation" - "exact length is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 598 - minLength.json: "minLength validation" - "too short is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 599 - minLength.json: "minLength validation" - "ignores non-strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 600 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 601 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 602 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 603 - minProperties.json: "minProperties validation" - "longer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 604 - minProperties.json: "minProperties validation" - "exact length is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 605 - minProperties.json: "minProperties validation" - "too short is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object has fewer than 1 property", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object has fewer than 1 property", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 606 - minProperties.json: "minProperties validation" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 607 - minProperties.json: "minProperties validation" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 608 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 609 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 610 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object has fewer than 1 property", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object has fewer than 1 property", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 611 - minimum.json: "minimum validation" - "above the minimum is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 612 - minimum.json: "minimum validation" - "boundary point is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 613 - minimum.json: "minimum validation" - "below the minimum is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than 1.1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than 1.1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 614 - minimum.json: "minimum validation" - "ignores non-numbers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 615 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 616 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 617 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 618 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 619 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than -2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than -2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 620 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than -2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than -2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 621 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 622 - multipleOf.json: "by int" - "int by int" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 623 - multipleOf.json: "by int" - "int by int fail" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/multipleOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/multipleOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 624 - multipleOf.json: "by int" - "ignores non-numbers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 625 - multipleOf.json: "by number" - "zero is multiple of anything" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 626 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 627 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 1.5", 353s # "instanceLocation": "", 353s # "keywordLocation": "/multipleOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 1.5", 353s # "instanceLocation": "", 353s # "keywordLocation": "/multipleOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 628 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 629 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 0.0001", 353s # "instanceLocation": "", 353s # "keywordLocation": "/multipleOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 0.0001", 353s # "instanceLocation": "", 353s # "keywordLocation": "/multipleOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 630 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 0.123456789", 353s # "instanceLocation": "", 353s # "keywordLocation": "/multipleOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 0.123456789", 353s # "instanceLocation": "", 353s # "keywordLocation": "/multipleOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 631 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 632 - not.json: "not" - "allowed" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 633 - not.json: "not" - "disallowed" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 634 - not.json: "not multiple types" - "valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 635 - not.json: "not multiple types" - "mismatch" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 636 - not.json: "not multiple types" - "other mismatch" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 637 - not.json: "not more complex schema" - "match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 638 - not.json: "not more complex schema" - "other match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 639 - not.json: "not more complex schema" - "mismatch" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 640 - not.json: "forbidden property" - "property present" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/not" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/not" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 641 - not.json: "forbidden property" - "property absent" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 642 - not.json: "forbid everything with empty schema" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 643 - not.json: "forbid everything with empty schema" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 644 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 645 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 646 - not.json: "forbid everything with empty schema" - "null is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 647 - not.json: "forbid everything with empty schema" - "object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 648 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 649 - not.json: "forbid everything with empty schema" - "array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 650 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 651 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 652 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 653 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 654 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 655 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 656 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 657 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 658 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 659 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 660 - not.json: "allow everything with boolean schema false" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 661 - not.json: "allow everything with boolean schema false" - "string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 662 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 663 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 664 - not.json: "allow everything with boolean schema false" - "null is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 665 - not.json: "allow everything with boolean schema false" - "object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 666 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 667 - not.json: "allow everything with boolean schema false" - "array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 668 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 669 - not.json: "double negation" - "any value is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 670 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 671 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/not" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 672 - oneOf.json: "oneOf" - "first oneOf valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 673 - oneOf.json: "oneOf" - "second oneOf valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 674 - oneOf.json: "oneOf" - "both oneOf valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 675 - oneOf.json: "oneOf" - "neither oneOf valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/type" 353s # }, 353s # { 353s # "error": "value is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/minimum" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/type" 353s # }, 353s # { 353s # "error": "value is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/minimum" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 676 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # }, 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 677 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 678 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 679 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1, 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 680 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 681 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 682 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0" 353s # }, 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1" 353s # }, 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/2" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0" 353s # }, 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1" 353s # }, 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/2" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 683 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 684 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 685 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 686 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/oneOf/0/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/properties" 353s # }, 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/oneOf/1/properties/foo/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/properties" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/oneOf/0/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/properties" 353s # }, 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/oneOf/1/properties/foo/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/properties" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 687 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 688 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 689 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/required" 353s # }, 353s # { 353s # "error": "object is missing properties: foo, baz", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/required" 353s # }, 353s # { 353s # "error": "object is missing properties: foo, baz", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 690 - oneOf.json: "oneOf with required" - "first valid - valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 691 - oneOf.json: "oneOf with required" - "second valid - valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 692 - oneOf.json: "oneOf with required" - "both valid - invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 693 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 694 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 695 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 696 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/required" 353s # }, 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: bar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/required" 353s # }, 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 697 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 698 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/oneOf/0/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/oneOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/oneOf/0/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/oneOf" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 699 - pattern.json: "pattern validation" - "a matching pattern is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 700 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 701 - pattern.json: "pattern validation" - "ignores booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 702 - pattern.json: "pattern validation" - "ignores integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 703 - pattern.json: "pattern validation" - "ignores floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 704 - pattern.json: "pattern validation" - "ignores objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 705 - pattern.json: "pattern validation" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 706 - pattern.json: "pattern validation" - "ignores null" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 707 - pattern.json: "pattern is not anchored" - "matches a substring" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 708 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 709 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 710 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/patternProperties/f.*o/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/patternProperties/f.*o/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 711 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/patternProperties/f.*o/type" 353s # }, 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foooooo", 353s # "keywordLocation": "/patternProperties/f.*o/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/patternProperties/f.*o/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 712 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 713 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 714 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 715 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 716 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 717 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 718 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/a", 353s # "keywordLocation": "/patternProperties/a*/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/a", 353s # "keywordLocation": "/patternProperties/a*/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 719 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 20", 353s # "instanceLocation": "/aaaa", 353s # "keywordLocation": "/patternProperties/aaa*/maximum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than 20", 353s # "instanceLocation": "/aaaa", 353s # "keywordLocation": "/patternProperties/aaa*/maximum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 720 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/aaa", 353s # "keywordLocation": "/patternProperties/a*/type" 353s # }, 353s # { 353s # "error": "value is greater than 20", 353s # "instanceLocation": "/aaaa", 353s # "keywordLocation": "/patternProperties/aaa*/maximum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/aaa", 353s # "keywordLocation": "/patternProperties/a*/type" 353s # }, 353s # { 353s # "error": "value is greater than 20", 353s # "instanceLocation": "/aaaa", 353s # "keywordLocation": "/patternProperties/aaa*/maximum" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 721 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 722 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not boolean", 353s # "instanceLocation": "/a31b", 353s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not boolean", 353s # "instanceLocation": "/a31b", 353s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 723 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 724 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/a_X_3", 353s # "keywordLocation": "/patternProperties/X_/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/a_X_3", 353s # "keywordLocation": "/patternProperties/X_/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 725 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 726 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/patternProperties/b.*" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/patternProperties/b.*" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 727 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/patternProperties/b.*" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/patternProperties/b.*" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 728 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/foobar", 353s # "keywordLocation": "/patternProperties/b.*" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/foobar", 353s # "keywordLocation": "/patternProperties/b.*" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 729 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 730 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 731 - prefixItems.json: "a schema given for prefixItems" - "correct types" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 732 - prefixItems.json: "a schema given for prefixItems" - "wrong types" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/prefixItems/0/type" 353s # }, 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/prefixItems/1/type" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/prefixItems/0/type" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 733 - prefixItems.json: "a schema given for prefixItems" - "incomplete array of items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 734 - prefixItems.json: "a schema given for prefixItems" - "array with additional items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 735 - prefixItems.json: "a schema given for prefixItems" - "empty array" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 736 - prefixItems.json: "a schema given for prefixItems" - "JavaScript pseudo-array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 737 - prefixItems.json: "prefixItems with boolean schemas" - "array with one item is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 738 - prefixItems.json: "prefixItems with boolean schemas" - "array with two items is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/prefixItems/1" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/prefixItems/1" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 739 - prefixItems.json: "prefixItems with boolean schemas" - "empty array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 740 - prefixItems.json: "additional items are allowed by default" - "only the first item is validated" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 741 - prefixItems.json: "prefixItems with null instance elements" - "allows null elements" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 742 - properties.json: "object properties validation" - "both properties present and valid is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 743 - properties.json: "object properties validation" - "one property invalid is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 744 - properties.json: "object properties validation" - "both properties invalid is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/type" 353s # }, 353s # { 353s # "error": "got array, not integer", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 745 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 746 - properties.json: "object properties validation" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 747 - properties.json: "object properties validation" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 748 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 749 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array has more than 3 items", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/maxItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array has more than 3 items", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/maxItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 750 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array has fewer than 2 items", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/patternProperties/f.o/minItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array has fewer than 2 items", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/patternProperties/f.o/minItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 751 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 752 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array has fewer than 2 items", 353s # "instanceLocation": "/fxo", 353s # "keywordLocation": "/patternProperties/f.o/minItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array has fewer than 2 items", 353s # "instanceLocation": "/fxo", 353s # "keywordLocation": "/patternProperties/f.o/minItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 753 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 754 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 755 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/additionalProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 756 - properties.json: "properties with boolean schema" - "no property present is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 757 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 758 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 759 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 760 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 761 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/foo\tbar", 353s # "keywordLocation": "/properties/foo\tbar/type" 353s # }, 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/foo\nbar", 353s # "keywordLocation": "/properties/foo\nbar/type" 353s # }, 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/foo\fbar", 353s # "keywordLocation": "/properties/foo\fbar/type" 353s # }, 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/foo\rbar", 353s # "keywordLocation": "/properties/foo\rbar/type" 353s # }, 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/foo\"bar", 353s # "keywordLocation": "/properties/foo\"bar/type" 353s # }, 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/foo\\bar", 353s # "keywordLocation": "/properties/foo\\bar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/foo\tbar", 353s # "keywordLocation": "/properties/foo\tbar/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 762 - properties.json: "properties with null valued instance properties" - "allows null values" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 763 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 764 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 765 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 766 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/__proto__", 353s # "keywordLocation": "/properties/__proto__/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/__proto__", 353s # "keywordLocation": "/properties/__proto__/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 767 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/toString/length", 353s # "keywordLocation": "/properties/toString/properties/length/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/toString", 353s # "keywordLocation": "/properties/toString/properties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/toString/length", 353s # "keywordLocation": "/properties/toString/properties/length/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/toString", 353s # "keywordLocation": "/properties/toString/properties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 768 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not number", 353s # "instanceLocation": "/constructor", 353s # "keywordLocation": "/properties/constructor/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not number", 353s # "instanceLocation": "/constructor", 353s # "keywordLocation": "/properties/constructor/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 769 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 770 - propertyNames.json: "propertyNames validation" - "all property names valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 771 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "length is greater than 3", 353s # "instanceLocation": "/foobar", 353s # "keywordLocation": "/propertyNames/maxLength" 353s # }, 353s # { 353s # "error": "not all property names are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/propertyNames" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "length is greater than 3", 353s # "instanceLocation": "/foobar", 353s # "keywordLocation": "/propertyNames/maxLength" 353s # }, 353s # { 353s # "error": "not all property names are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/propertyNames" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 772 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 773 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 774 - propertyNames.json: "propertyNames validation" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 775 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 776 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 777 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 778 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/propertyNames" 353s # }, 353s # { 353s # "error": "not all property names are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/propertyNames" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "subschema is false", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/propertyNames" 353s # }, 353s # { 353s # "error": "not all property names are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/propertyNames" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 779 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 780 - ref.json: "root pointer ref" - "match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 781 - ref.json: "root pointer ref" - "recursive match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 782 - ref.json: "root pointer ref" - "mismatch" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 783 - ref.json: "root pointer ref" - "recursive mismatch" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/additionalProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo/bar", 353s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/additionalProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo/bar", 353s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/additionalProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 784 - ref.json: "relative pointer ref to object" - "match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 785 - ref.json: "relative pointer ref to object" - "mismatch" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/properties/foo/type", 353s # "error": "got boolean, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/properties/foo/type", 353s # "error": "got boolean, not integer", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 786 - ref.json: "relative pointer ref to array" - "match array" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 787 - ref.json: "relative pointer ref to array" - "mismatch array" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/prefixItems/0/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/prefixItems/1/$ref/type" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/prefixItems/0/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/prefixItems/1/$ref/type" 353s # }, 353s # { 353s # "error": "not all items are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/prefixItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 788 - ref.json: "escaped pointer ref" - "slash invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/slash", 353s # "keywordLocation": "/properties/slash/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/slash", 353s # "keywordLocation": "/properties/slash/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 789 - ref.json: "escaped pointer ref" - "tilde invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/tilde", 353s # "keywordLocation": "/properties/tilde/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/tilde", 353s # "keywordLocation": "/properties/tilde/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 790 - ref.json: "escaped pointer ref" - "percent invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/percent", 353s # "keywordLocation": "/properties/percent/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/percent", 353s # "keywordLocation": "/properties/percent/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 791 - ref.json: "escaped pointer ref" - "slash valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 792 - ref.json: "escaped pointer ref" - "tilde valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 793 - ref.json: "escaped pointer ref" - "percent valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 794 - ref.json: "nested refs" - "nested ref valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 795 - ref.json: "nested refs" - "nested ref invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/a/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/a/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 796 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 797 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "array has more than 2 items", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/maxItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "array has more than 2 items", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/maxItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 798 - ref.json: "ref applies alongside sibling keywords" - "ref invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/reffed/type", 353s # "error": "got string, not array", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/reffed/type", 353s # "error": "got string, not array", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 799 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 800 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/nonNegativeInteger/minimum", 353s # "error": "value is less than 0", 353s # "instanceLocation": "/minLength", 353s # "keywordLocation": "/$ref/allOf/3/$ref/properties/minLength/$ref/$ref/minimum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/allOf/3/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 353s # "error": "subschema 3 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/nonNegativeInteger/minimum", 353s # "error": "value is less than 0", 353s # "instanceLocation": "/minLength", 353s # "keywordLocation": "/$ref/allOf/3/$ref/properties/minLength/$ref/$ref/minimum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/allOf/3/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 353s # "error": "subschema 3 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 801 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 802 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/$ref", 353s # "keywordLocation": "/properties/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/$ref", 353s # "keywordLocation": "/properties/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 803 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 804 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/is-string/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/$ref", 353s # "keywordLocation": "/properties/$ref/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/is-string/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/$ref", 353s # "keywordLocation": "/properties/$ref/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 805 - ref.json: "$ref to boolean schema true" - "any value is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 806 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/bool", 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/bool", 353s # "error": "subschema is false", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 807 - ref.json: "Recursive references between schemas" - "valid tree" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 808 - ref.json: "Recursive references between schemas" - "invalid tree" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties/value/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/nodes/0/subtree/nodes/0", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/nodes/0/subtree/nodes", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/nodes/0/subtree", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/nodes/0", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/nodes", 353s # "keywordLocation": "/properties/nodes/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties/value/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/nodes/0/subtree/nodes/0", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/nodes/0/subtree/nodes", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/nodes/0/subtree", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/nodes/0", 353s # "keywordLocation": "/properties/nodes/items/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/nodes", 353s # "keywordLocation": "/properties/nodes/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 809 - ref.json: "refs with quote" - "object with numbers is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 810 - ref.json: "refs with quote" - "object with strings is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "/foo\"bar", 353s # "keywordLocation": "/properties/foo\"bar/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "/foo\"bar", 353s # "keywordLocation": "/properties/foo\"bar/$ref/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 811 - ref.json: "ref creates new scope when adjacent to keywords" - "referenced subschema doesn't see annotations from properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/prop1", 353s # "keywordLocation": "/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/prop1", 353s # "keywordLocation": "/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/enum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 814 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 815 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo/bar", 353s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo/bar", 353s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 816 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/$ref/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/$ref/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 817 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 818 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo/bar", 353s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo/bar", 353s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 819 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/$ref/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/$ref/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 820 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 821 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 822 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 823 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 824 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id1/int.json#/maximum", 353s # "error": "value is greater than 10", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/maximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id1/int.json#/maximum", 353s # "error": "value is greater than 10", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/maximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 825 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 826 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id2/base.json#/$defs/bigint/maximum", 353s # "error": "value is greater than 10", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/maximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id2/base.json#/$defs/bigint/maximum", 353s # "error": "value is greater than 10", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/maximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 827 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 828 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 353s # "error": "value is less than 30", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/minimum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 353s # "error": "value is less than 30", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/minimum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 829 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 830 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 831 - ref.json: "URN base URI with NSS" - "a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 832 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 833 - ref.json: "URN base URI with r-component" - "a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 834 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 835 - ref.json: "URN base URI with q-component" - "a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 836 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 837 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 838 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 839 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 840 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 841 - ref.json: "URN ref with nested pointer ref" - "a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 842 - ref.json: "URN ref with nested pointer ref" - "a non-string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 843 - ref.json: "ref to if" - "a non-integer is invalid due to the $ref" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 844 - ref.json: "ref to if" - "an integer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 845 - ref.json: "ref to then" - "a non-integer is invalid due to the $ref" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 846 - ref.json: "ref to then" - "an integer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 847 - ref.json: "ref to else" - "a non-integer is invalid due to the $ref" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 848 - ref.json: "ref to else" - "an integer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 849 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 850 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 851 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 852 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 853 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 854 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 855 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 856 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs//$defs//type", 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/$ref/type" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs//$defs//type", 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/$ref/type" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 857 - refRemote.json: "remote ref" - "remote ref valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 858 - refRemote.json: "remote ref" - "remote ref invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 859 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 860 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 861 - refRemote.json: "anchor within remote ref" - "remote anchor valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 862 - refRemote.json: "anchor within remote ref" - "remote anchor invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 863 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 864 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 865 - refRemote.json: "base URI change" - "base URI change ref valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 866 - refRemote.json: "base URI change" - "base URI change ref invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/0/0", 353s # "keywordLocation": "/items/items/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChange/#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/0/0", 353s # "keywordLocation": "/items/items/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChange/#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 867 - refRemote.json: "base URI change - change folder" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 868 - refRemote.json: "base URI change - change folder" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/list/0", 353s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolder/#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/list", 353s # "keywordLocation": "/properties/list/$ref/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs1.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/list/0", 353s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolder/#/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/list", 353s # "keywordLocation": "/properties/list/$ref/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs1.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 869 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 870 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/list/0", 353s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolderInSubschema/#/$defs/bar/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/list", 353s # "keywordLocation": "/properties/list/$ref/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs2.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/list/0", 353s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolderInSubschema/#/$defs/bar/items", 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "/list", 353s # "keywordLocation": "/properties/list/$ref/items" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs2.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 871 - refRemote.json: "root ref in remote ref" - "string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 872 - refRemote.json: "root ref in remote ref" - "null is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 873 - refRemote.json: "root ref in remote ref" - "object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf/0/type", 353s # "error": "got object, not null", 353s # "instanceLocation": "/name", 353s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/type", 353s # "error": "got object, not string", 353s # "instanceLocation": "/name", 353s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "/name", 353s # "keywordLocation": "/properties/name/$ref/anyOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/object#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf/0/type", 353s # "error": "got object, not null", 353s # "instanceLocation": "/name", 353s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/type", 353s # "error": "got object, not string", 353s # "instanceLocation": "/name", 353s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "/name", 353s # "keywordLocation": "/properties/name/$ref/anyOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/object#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 874 - refRemote.json: "remote ref with ref to defs" - "invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/$ref/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/$ref/$ref/properties/bar/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 875 - refRemote.json: "remote ref with ref to defs" - "valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 876 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 877 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 878 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/name/foo", 353s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/foo-ref-string.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/name", 353s # "keywordLocation": "/properties/name/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/some-id#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "/name/foo", 353s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/foo-ref-string.json#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/name", 353s # "keywordLocation": "/properties/name/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/some-id#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 879 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 880 - refRemote.json: "remote HTTP ref with different $id" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 881 - refRemote.json: "remote HTTP ref with different $id" - "string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 882 - refRemote.json: "remote HTTP ref with different URN $id" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 883 - refRemote.json: "remote HTTP ref with different URN $id" - "string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 884 - refRemote.json: "remote HTTP ref with nested absolute ref" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 885 - refRemote.json: "remote HTTP ref with nested absolute ref" - "string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 886 - refRemote.json: "$ref to $ref finds detached $anchor" - "number is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 887 - refRemote.json: "$ref to $ref finds detached $anchor" - "non-number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-ref.json#/$defs/detached/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-ref.json#/$defs/detached/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/$ref/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 888 - required.json: "required validation" - "present required property is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 889 - required.json: "required validation" - "non-present required property is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing property: foo", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 890 - required.json: "required validation" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 891 - required.json: "required validation" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 892 - required.json: "required validation" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 893 - required.json: "required default validation" - "not required by default" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 894 - required.json: "required with empty array" - "property not required" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 895 - required.json: "required with escaped characters" - "object with all properties present is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 896 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 897 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 898 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 899 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: __proto__, toString, constructor", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: __proto__, toString, constructor", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 900 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: toString, constructor", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: toString, constructor", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 901 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: __proto__, constructor", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: __proto__, constructor", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 902 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: __proto__, toString", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "object is missing properties: __proto__, toString", 353s # "instanceLocation": "", 353s # "keywordLocation": "/required" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 903 - required.json: "required properties whose names are Javascript object property names" - "all present" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 904 - type.json: "integer type matches integers" - "an integer is an integer" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 905 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 906 - type.json: "integer type matches integers" - "a float is not an integer" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got number, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got number, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 907 - type.json: "integer type matches integers" - "a string is not an integer" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 908 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 909 - type.json: "integer type matches integers" - "an object is not an integer" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got object, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got object, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 910 - type.json: "integer type matches integers" - "an array is not an integer" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got array, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got array, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 911 - type.json: "integer type matches integers" - "a boolean is not an integer" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got boolean, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got boolean, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 912 - type.json: "integer type matches integers" - "null is not an integer" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got null, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 353s # "error": "got null, not integer", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 913 - type.json: "number type matches numbers" - "an integer is a number" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 914 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 915 - type.json: "number type matches numbers" - "a float is a number" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 916 - type.json: "number type matches numbers" - "a string is not a number" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 917 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 918 - type.json: "number type matches numbers" - "an object is not a number" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 919 - type.json: "number type matches numbers" - "an array is not a number" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 920 - type.json: "number type matches numbers" - "a boolean is not a number" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 921 - type.json: "number type matches numbers" - "null is not a number" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 922 - type.json: "string type matches strings" - "1 is not a string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 923 - type.json: "string type matches strings" - "a float is not a string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got number, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got number, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 924 - type.json: "string type matches strings" - "a string is a string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 925 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 926 - type.json: "string type matches strings" - "an empty string is still a string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 927 - type.json: "string type matches strings" - "an object is not a string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got object, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got object, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 928 - type.json: "string type matches strings" - "an array is not a string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got array, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got array, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 929 - type.json: "string type matches strings" - "a boolean is not a string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got boolean, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got boolean, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 930 - type.json: "string type matches strings" - "null is not a string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got null, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got null, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 931 - type.json: "object type matches objects" - "an integer is not an object" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 932 - type.json: "object type matches objects" - "a float is not an object" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 933 - type.json: "object type matches objects" - "a string is not an object" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 934 - type.json: "object type matches objects" - "an object is an object" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 935 - type.json: "object type matches objects" - "an array is not an object" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 936 - type.json: "object type matches objects" - "a boolean is not an object" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 937 - type.json: "object type matches objects" - "null is not an object" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 938 - type.json: "array type matches arrays" - "an integer is not an array" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 939 - type.json: "array type matches arrays" - "a float is not an array" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 940 - type.json: "array type matches arrays" - "a string is not an array" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 941 - type.json: "array type matches arrays" - "an object is not an array" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 942 - type.json: "array type matches arrays" - "an array is an array" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 943 - type.json: "array type matches arrays" - "a boolean is not an array" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 944 - type.json: "array type matches arrays" - "null is not an array" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not array", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 945 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 946 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 947 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 948 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 949 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 950 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 951 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 952 - type.json: "boolean type matches booleans" - "true is a boolean" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 953 - type.json: "boolean type matches booleans" - "false is a boolean" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 954 - type.json: "boolean type matches booleans" - "null is not a boolean" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not boolean", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 955 - type.json: "null type matches only the null object" - "an integer is not null" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 956 - type.json: "null type matches only the null object" - "a float is not null" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 957 - type.json: "null type matches only the null object" - "zero is not null" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 958 - type.json: "null type matches only the null object" - "a string is not null" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 959 - type.json: "null type matches only the null object" - "an empty string is not null" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 960 - type.json: "null type matches only the null object" - "an object is not null" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 961 - type.json: "null type matches only the null object" - "an array is not null" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 962 - type.json: "null type matches only the null object" - "true is not null" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 963 - type.json: "null type matches only the null object" - "false is not null" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 964 - type.json: "null type matches only the null object" - "null is null" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 965 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 966 - type.json: "multiple types can be specified in an array" - "a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 967 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got number, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 968 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got object, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 969 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got array, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 970 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got boolean, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 971 - type.json: "multiple types can be specified in an array" - "null is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not one of integer, string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 972 - type.json: "type as array with one item" - "string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 973 - type.json: "type as array with one item" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not one of string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not one of string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 974 - type.json: "type: array or object" - "array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 975 - type.json: "type: array or object" - "object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 976 - type.json: "type: array or object" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not one of array, object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not one of array, object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 977 - type.json: "type: array or object" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not one of array, object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not one of array, object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 978 - type.json: "type: array or object" - "null is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not one of array, object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got null, not one of array, object", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 979 - type.json: "type: array, object or null" - "array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 980 - type.json: "type: array, object or null" - "object is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 981 - type.json: "type: array, object or null" - "null is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 982 - type.json: "type: array, object or null" - "number is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not one of array, object, null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not one of array, object, null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 983 - type.json: "type: array, object or null" - "string is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not one of array, object, null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not one of array, object, null", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 984 - unevaluatedItems.json: "unevaluatedItems true" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 985 - unevaluatedItems.json: "unevaluatedItems true" - "with unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 986 - unevaluatedItems.json: "unevaluatedItems false" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 987 - unevaluatedItems.json: "unevaluatedItems false" - "with unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 988 - unevaluatedItems.json: "unevaluatedItems as schema" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 989 - unevaluatedItems.json: "unevaluatedItems as schema" - "with valid unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 990 - unevaluatedItems.json: "unevaluatedItems as schema" - "with invalid unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 991 - unevaluatedItems.json: "unevaluatedItems with uniform items" - "unevaluatedItems doesn't apply" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 992 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 993 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 994 - unevaluatedItems.json: "unevaluatedItems with items and prefixItems" - "unevaluatedItems doesn't apply" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 995 - unevaluatedItems.json: "unevaluatedItems with items" - "valid under items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 996 - unevaluatedItems.json: "unevaluatedItems with items" - "invalid under items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/items/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 997 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 998 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 999 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with only (valid) additional items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1000 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with no additional items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1001 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with invalid additional item" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not boolean", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not boolean", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1002 - unevaluatedItems.json: "unevaluatedItems with nested prefixItems and items" - "with no additional items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1003 - unevaluatedItems.json: "unevaluatedItems with nested prefixItems and items" - "with additional items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1004 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with no additional items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1005 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with additional items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1006 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1007 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1008 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1009 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1010 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1011 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1012 - unevaluatedItems.json: "unevaluatedItems with not" - "with unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1013 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1014 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1015 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1016 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/4", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/4", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1017 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1018 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1019 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1020 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1021 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1022 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1023 - unevaluatedItems.json: "unevaluatedItems with $dynamicRef" - "with no unevaluated items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1024 - unevaluatedItems.json: "unevaluatedItems with $dynamicRef" - "with unevaluated items" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/$ref/unevaluatedItems" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/$ref/unevaluatedItems" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1025 - unevaluatedItems.json: "unevaluatedItems can't see inside cousins" - "always fails" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/allOf/1/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/allOf/1/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1026 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "no extra items" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1027 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "uncle keyword evaluation is not significant" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/foo/1", 353s # "keywordLocation": "/properties/foo/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/unevaluatedItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/foo/1", 353s # "keywordLocation": "/properties/foo/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/unevaluatedItems" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1028 - unevaluatedItems.json: "unevaluatedItems depends on adjacent contains" - "second item is evaluated by contains" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1029 - unevaluatedItems.json: "unevaluatedItems depends on adjacent contains" - "contains fails, second item is not evaluated" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/type" 353s # }, 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/contains/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/contains/type" 353s # }, 353s # { 353s # "error": "got integer, not string", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/contains/type" 353s # }, 353s # { 353s # "error": "subschema is not valid against any item", 353s # "instanceLocation": "", 353s # "keywordLocation": "/contains" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1030 - unevaluatedItems.json: "unevaluatedItems depends on adjacent contains" - "contains passes, second item is not evaluated" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1031 - unevaluatedItems.json: "unevaluatedItems depends on multiple nested contains" - "5 not evaluated, passes unevaluatedItems" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1032 - unevaluatedItems.json: "unevaluatedItems depends on multiple nested contains" - "7 not evaluated, fails unevaluatedItems" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 5", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/unevaluatedItems/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is not a multiple of 5", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/unevaluatedItems/multipleOf" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1033 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "empty array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1034 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only a's are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1035 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "a's and b's are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1036 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "a's, b's and c's are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1037 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only b's are invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1038 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only c's are invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1039 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only b's and c's are invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/4", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/1", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/3", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/4", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1040 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only a's and c's are invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/4", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/4", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1041 - unevaluatedItems.json: "non-array instances are valid" - "ignores booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1042 - unevaluatedItems.json: "non-array instances are valid" - "ignores integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1043 - unevaluatedItems.json: "non-array instances are valid" - "ignores floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1044 - unevaluatedItems.json: "non-array instances are valid" - "ignores objects" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1045 - unevaluatedItems.json: "non-array instances are valid" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1046 - unevaluatedItems.json: "non-array instances are valid" - "ignores null" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1047 - unevaluatedItems.json: "unevaluatedItems with null instance elements" - "allows null elements" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1048 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "valid in case if is evaluated" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1049 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "invalid in case if is evaluated" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/0", 353s # "keywordLocation": "/unevaluatedItems" 353s # }, 353s # { 353s # "error": "subschema is not valid against all additional items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 1050 - unevaluatedProperties.json: "unevaluatedProperties true" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1051 - unevaluatedProperties.json: "unevaluatedProperties true" - "with unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1052 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1053 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with valid unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1054 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with invalid unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 3", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties/minLength" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 3", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties/minLength" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1055 - unevaluatedProperties.json: "unevaluatedProperties false" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1056 - unevaluatedProperties.json: "unevaluatedProperties false" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1057 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1058 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1059 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1060 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1061 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with no additional properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1062 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with additional properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1063 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with no additional properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1064 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with additional properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1065 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with no additional properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1066 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with additional properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1067 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with no additional properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1068 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with additional properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1069 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with no nested unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1070 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with nested unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1071 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1072 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1073 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1074 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1075 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1076 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/quux", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1077 - unevaluatedProperties.json: "unevaluatedProperties with not" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1078 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1079 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1080 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1081 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1082 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has no unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1083 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1084 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1085 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1086 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1087 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1088 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has no unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1089 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1090 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1091 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1092 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1093 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1094 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1095 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1096 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1097 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1098 - unevaluatedProperties.json: "unevaluatedProperties with $dynamicRef" - "with no unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1099 - unevaluatedProperties.json: "unevaluatedProperties with $dynamicRef" - "with unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/baz", 353s # "keywordLocation": "/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1100 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins" - "always fails" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1101 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins (reverse order)" - "always fails" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1102 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with no nested unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1103 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with nested unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1104 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with no nested unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1105 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with nested unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1106 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with no nested unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1107 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with nested unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1108 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with no nested unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1109 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with nested unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1110 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with no nested unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1111 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with nested unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1112 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with no nested unevaluated properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1113 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with nested unevaluated properties" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/1/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 1 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1114 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "no extra properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1115 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "uncle keyword evaluation is not significant" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo/faz", 353s # "keywordLocation": "/properties/foo/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo/faz", 353s # "keywordLocation": "/properties/foo/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/properties/foo/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1116 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "base case: both properties present" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1117 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, bar is missing" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1118 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, foo is missing" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "subschema 0 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1119 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "base case: both properties present" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1120 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, bar is missing" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1121 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, foo is missing" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1122 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Empty is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1123 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Single is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1124 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 1st level is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/y", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/y", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1125 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Nested is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1126 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 2nd level is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/x/y", 353s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/x", 353s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/x/y", 353s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/x", 353s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1127 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Deep nested is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1128 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 3rd level is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/x/x/y", 353s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/x/x", 353s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/x", 353s # "keywordLocation": "/properties/x/$ref/properties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/unevaluatedProperties", 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/x/x/y", 353s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/unevaluatedProperties", 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "/x/x", 353s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/x", 353s # "keywordLocation": "/properties/x/$ref/properties" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1129 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "Empty is invalid (no x or y)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/required", 353s # "error": "object is missing property: x", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 353s # }, 353s # { 353s # "error": "object is missing property: y", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf" 353s # }, 353s # { 353s # "error": "subschema 2 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/required", 353s # "error": "object is missing property: x", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 353s # }, 353s # { 353s # "error": "object is missing property: y", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf" 353s # }, 353s # { 353s # "error": "subschema 2 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1130 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b are invalid (no x or y)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/required", 353s # "error": "object is missing property: x", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 353s # }, 353s # { 353s # "error": "object is missing property: y", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf" 353s # }, 353s # { 353s # "error": "subschema 2 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/required", 353s # "error": "object is missing property: x", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 353s # }, 353s # { 353s # "error": "object is missing property: y", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf" 353s # }, 353s # { 353s # "error": "subschema 2 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1131 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "x and y are invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf" 353s # }, 353s # { 353s # "error": "subschema 2 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/x", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/y", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf" 353s # }, 353s # { 353s # "error": "subschema 2 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/x", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/y", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1132 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and x are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1133 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and y are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1134 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1135 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and y are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1136 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x and y are invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf" 353s # }, 353s # { 353s # "error": "subschema 2 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/x", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/y", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf/2/oneOf" 353s # }, 353s # { 353s # "error": "subschema 2 is not valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/allOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/x", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/y", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1137 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "Empty is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 353s # "error": "object is missing property: c", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 353s # "error": "object is missing property: d", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 353s # "error": "object is missing property: b", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 353s # "error": "object is missing property: xx", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 353s # "error": "object is missing property: all", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 353s # "error": "object is missing property: c", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 353s # "error": "object is missing property: d", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 353s # "error": "object is missing property: b", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 353s # "error": "object is missing property: xx", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 353s # "error": "object is missing property: all", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1138 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1139 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1140 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1141 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "d is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1142 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + b is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1143 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + c is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1144 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + d is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1145 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + c is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/b", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/c", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/b", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/c", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1146 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + d is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/b", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/d", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/b", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/d", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1147 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c + d is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 353s # "error": "object is missing property: b", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 353s # "error": "object is missing property: xx", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 353s # "error": "object is missing property: all", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/c", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/d", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 353s # "error": "object is missing property: b", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 353s # "error": "object is missing property: xx", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 353s # "error": "object is missing property: all", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/c", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/d", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1148 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1149 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foox is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1150 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foo is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1151 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + a is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1152 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + b is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 1, 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/b", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/xx", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 1, 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/b", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/xx", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1153 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + c is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 0, 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/c", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/xx", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 0, 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/c", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/xx", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1154 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + d is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 0, 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/d", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/xx", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 353s # "error": "multiple subschemas are valid: 0, 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/0/$ref/oneOf" 353s # }, 353s # { 353s # "error": "object is missing property: a", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf/1/required" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/d", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/xx", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1155 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1156 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + foo is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1157 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + a is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "multiple subschemas are valid: 0, 1", 353s # "instanceLocation": "", 353s # "keywordLocation": "/oneOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1158 - unevaluatedProperties.json: "non-object instances are valid" - "ignores booleans" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1159 - unevaluatedProperties.json: "non-object instances are valid" - "ignores integers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1160 - unevaluatedProperties.json: "non-object instances are valid" - "ignores floats" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1161 - unevaluatedProperties.json: "non-object instances are valid" - "ignores arrays" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1162 - unevaluatedProperties.json: "non-object instances are valid" - "ignores strings" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1163 - unevaluatedProperties.json: "non-object instances are valid" - "ignores null" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1164 - unevaluatedProperties.json: "unevaluatedProperties with null valued instance properties" - "allows null valued properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1165 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "allows only number properties" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1166 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "string property is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/a", 353s # "keywordLocation": "/unevaluatedProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "/a", 353s # "keywordLocation": "/unevaluatedProperties/type" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1167 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "valid in case if is evaluated" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1168 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "invalid in case if is evaluated" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1169 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't consider dependentSchemas" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/foo", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1170 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't see bar when foo2 is absent" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/unevaluatedProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/unevaluatedProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1171 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties sees bar when foo2 is present" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 1172 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1173 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1174 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 2 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 2 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1175 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1176 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1177 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1178 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1179 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 2 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 2 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1180 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1181 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1182 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1183 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1184 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1185 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1186 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1187 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 2 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 2 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1188 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1189 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1190 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1191 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1192 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1193 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1194 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1195 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 4 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 4 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1196 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1197 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1198 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1199 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1200 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1201 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1202 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1203 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1204 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1205 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1206 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 2 and 3 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 2 and 3 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1207 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 2 and 3 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 2 and 3 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1208 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1209 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1210 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1211 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "items at indices 0 and 1 are not unique", 353s # "instanceLocation": "", 353s # "keywordLocation": "/uniqueItems" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1212 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1213 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1214 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1215 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1216 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1217 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1218 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1219 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1220 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1221 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1222 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1223 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1224 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1225 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1226 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1227 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1228 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1229 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1230 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1231 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1232 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1233 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1234 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1235 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1236 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1237 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1238 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1239 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1240 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional item not permitted", 353s # "instanceLocation": "/2", 353s # "keywordLocation": "/items" 353s # }, 353s # { 353s # "error": "subschema is not valid against all items", 353s # "instanceLocation": "", 353s # "keywordLocation": "/items" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 1241 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "applicator vocabulary still works" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 353s # "error": "property not permitted", 353s # "instanceLocation": "/badProperty", 353s # "keywordLocation": "/properties/badProperty" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 353s # "error": "property not permitted", 353s # "instanceLocation": "/badProperty", 353s # "keywordLocation": "/properties/badProperty" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1242 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: valid number" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1243 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: invalid number, but it still validates" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1244 - vocabulary.json: "ignore unrecognized optional vocabulary" - "string value" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not number", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1245 - vocabulary.json: "ignore unrecognized optional vocabulary" - "number value" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 1246 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "exact match to enum, and type matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1247 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "in implementations that strip $anchor, this may match either $def" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/enum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 353s # "error": "got object, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/enum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 353s # "error": "got object, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1248 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "match $ref to $anchor" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1249 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "no match on enum or $ref to $anchor" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/enum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/enum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 1250 - optional/bignum.json: "integer" - "a bignum is an integer" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1251 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1252 - optional/bignum.json: "number" - "a bignum is a number" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1253 - optional/bignum.json: "number" - "a negative bignum is a number" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1254 - optional/bignum.json: "string" - "a bignum is not a string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/type" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1255 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1256 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMaximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMaximum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1257 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1258 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMinimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 353s # "instanceLocation": "", 353s # "keywordLocation": "/exclusiveMinimum" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 1259 - optional/cross-draft.json: "refs to historic drafts are processed as historic drafts" - "first item not a string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 1260 - optional/dependencies-compatibility.json: "single dependency" - "neither" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1261 - optional/dependencies-compatibility.json: "single dependency" - "nondependant" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1262 - optional/dependencies-compatibility.json: "single dependency" - "with dependency" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1263 - optional/dependencies-compatibility.json: "single dependency" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"bar\":2}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":[\"foo\"]}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1264 - optional/dependencies-compatibility.json: "single dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1265 - optional/dependencies-compatibility.json: "single dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1266 - optional/dependencies-compatibility.json: "single dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1267 - optional/dependencies-compatibility.json: "empty dependents" - "empty object" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1268 - optional/dependencies-compatibility.json: "empty dependents" - "object with one property" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1269 - optional/dependencies-compatibility.json: "empty dependents" - "non-object is valid" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1270 - optional/dependencies-compatibility.json: "multiple dependents required" - "neither" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1271 - optional/dependencies-compatibility.json: "multiple dependents required" - "nondependants" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1272 - optional/dependencies-compatibility.json: "multiple dependents required" - "with dependencies" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1273 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"foo\":1,\"quux\":2}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1274 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing other dependency" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"bar\":1,\"quux\":2}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1275 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing both dependencies" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"quux\":1}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1276 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1277 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1278 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF missing dependent" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"foo\":2,\"foo\\nbar\":1}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1279 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"foo\\\"bar\":2}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1280 - optional/dependencies-compatibility.json: "single schema dependency" - "valid" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1281 - optional/dependencies-compatibility.json: "single schema dependency" - "no dependency" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1282 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"bar\":2,\"foo\":\"quux\"}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1283 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type other" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"bar\":\"quux\",\"foo\":2}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1284 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type both" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"bar\":\"quux\",\"foo\":\"quux\"}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1285 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1286 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1287 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1288 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema true is valid" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1289 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema false is invalid" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"bar\":2}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1290 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with both properties is invalid" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"bar\":2,\"foo\":1}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1291 - optional/dependencies-compatibility.json: "boolean subschemas" - "empty object is valid" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1292 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s ok 1293 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"foo'bar\":{\"foo\\\"bar\":1}}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1294 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"a\":2,\"foo\\tbar\":1}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1295 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"foo'bar\":1}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s # 353s ok 1296 - optional/dynamicRef.json: "$dynamicRef skips over intermediate resources - pointer reference across resource boundary" - "integer property passes" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1297 - optional/dynamicRef.json: "$dynamicRef skips over intermediate resources - pointer reference across resource boundary" - "string property fails" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/$defs/defaultContent/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar-item/content", 353s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/bar-item", 353s # "keywordLocation": "/properties/bar-item/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/main#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/$defs/defaultContent/type", 353s # "error": "got string, not integer", 353s # "instanceLocation": "/bar-item/content", 353s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "/bar-item", 353s # "keywordLocation": "/properties/bar-item/$ref/properties" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/main#/properties", 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/properties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 1298 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1299 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1300 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1301 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1302 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1303 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1304 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1305 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1306 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "\"߀\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "\"߀\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s 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" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false # 353s 1..1 353s } 353s 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" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected true; got false 353s # data: "\"߀\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s 1..1 353s } 353s 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" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected true; got false 353s # data: "\"߀\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s 1..1 353s } 353s ok 1312 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true # 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "\"é\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s 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" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false # 353s 1..1 353s } 353s 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" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected true; got false 353s # data: "\"é\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s 1..1 353s } 353s ok 1316 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1317 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1318 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1319 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1320 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1321 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected true; got false 353s # data: "\"\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s 1..1 353s } 353s ok 1322 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1323 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1324 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1325 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1326 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1327 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1328 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1329 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1330 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1331 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "\"\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1333 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1334 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1335 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1336 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1337 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1338 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1339 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1340 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1341 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1342 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # 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.\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"\\\\wcole\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # 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.\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"\\\\wcole\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1345 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1346 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1347 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1348 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1349 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1350 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "\"৪২\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\d+$\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "\"\\\\a\"" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"regex\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1353 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1354 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1355 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1356 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1357 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1358 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1359 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/L'ÉCOLE", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/L'ÉCOLE", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1360 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"l'école\":\"pas de vraie vie\"}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"l'école\":\"pas de vraie vie\"}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1363 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/L'ÉCOLE", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/L'ÉCOLE", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1364 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/l'école", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/l'école", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1365 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/l'école", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/l'école", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1366 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1367 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1368 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/-%#", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/-%#", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s 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" 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected false; got true 353s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 353s # result: { 353s # "valid": true 353s # } 353s 1..1 353s } 353s ok 1370 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1371 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/-%#", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "additional property not permitted", 353s # "instanceLocation": "/-%#", 353s # "keywordLocation": "/additionalProperties" 353s # }, 353s # { 353s # "error": "not all additional properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/additionalProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1372 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 1373 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 1374 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: valid string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1375 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: invalid string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 353s # "error": "not a valid ipv4", 353s # "instanceLocation": "", 353s # "keywordLocation": "/format" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 353s # "error": "not a valid ipv4", 353s # "instanceLocation": "", 353s # "keywordLocation": "/format" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1376 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: valid string" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1377 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: invalid string" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 353s # "error": "not a valid ipv4", 353s # "instanceLocation": "", 353s # "keywordLocation": "/format" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 353s # "error": "not a valid ipv4", 353s # "instanceLocation": "", 353s # "keywordLocation": "/format" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 1378 - optional/id.json: "$id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1379 - optional/id.json: "$id inside an enum is not a real identifier" - "match $ref to $id" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1380 - optional/id.json: "$id inside an enum is not a real identifier" - "no match on enum or $ref to $id" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/enum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/id/my_identifier.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 353s # "error": "value does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/enum" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/id/my_identifier.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 1381 - optional/no-schema.json: "validation without $schema" - "a 3-character string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1382 - optional/no-schema.json: "validation without $schema" - "a 1-character string is not valid" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "length is less than 2", 353s # "instanceLocation": "", 353s # "keywordLocation": "/minLength" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1383 - optional/no-schema.json: "validation without $schema" - "a non-string is valid" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s # 353s ok 1384 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1385 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1386 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1387 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1388 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1389 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1390 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "pattern does not match", 353s # "instanceLocation": "", 353s # "keywordLocation": "/pattern" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1391 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1392 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1393 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1394 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/🐲", 353s # "keywordLocation": "/patternProperties/^🐲*$/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/🐲", 353s # "keywordLocation": "/patternProperties/^🐲*$/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1395 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/🐲🐲", 353s # "keywordLocation": "/patternProperties/^🐲*$/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "got string, not integer", 353s # "instanceLocation": "/🐲🐲", 353s # "keywordLocation": "/patternProperties/^🐲*$/type" 353s # }, 353s # { 353s # "error": "not all properties are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/patternProperties" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s ok 1396 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "match" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected true; got false 353s # data: "{\"bar\":3}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/unknown-keyword\"}},\"unknown-keyword\":{\"type\":\"integer\"}}" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s 1..1 353s } 353s ok 1397 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "mismatch" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false # 353s 1..1 353s } 353s ok 1398 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "match" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected true; got false 353s # data: "{\"bar\":3}" 353s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/properties/foo/unknown-keyword\"},\"foo\":{\"unknown-keyword\":{\"type\":\"integer\"}}}}" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s 1..1 353s } 353s ok 1399 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "mismatch" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 353s # "instanceLocation": "/bar", 353s # "keywordLocation": "/properties/bar/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false # 353s 1..1 353s } 353s ok 1400 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "match" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "/base#/$ref", 353s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "/base#/$ref", 353s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s not ok 1 - evaluation result is incorrect # 353s # Failed test (with amnesty) 'evaluation result is incorrect' 353s # at t/zzz-acceptance-draft2020-12.t line 51. 353s # expected true; got false 353s # data: "\"a string\"" 353s # schema: "{\"$id\":\"/base\",\"$ref\":\"#/examples/0\",\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"examples\":[{\"type\":\"string\"}]}" 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "/base#/$ref", 353s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s 1..1 353s } 353s ok 1401 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "mismatch" { # TODO Test marked TODO via "todo_tests" 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "/base#/$ref", 353s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "/base#/$ref", 353s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 353s # "instanceLocation": "", 353s # "keywordLocation": "/$ref" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false # 353s 1..1 353s } 353s # 353s 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" { 353s # result: { 353s # "valid": true 353s # } 353s # short-circuited result: { 353s # "valid": true 353s # } 353s ok 1 - test passes: data is valid: true 353s 1..1 353s } 353s ok 1403 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/not" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/not" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 353s # "error": "got null, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/2/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/not" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/not" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 353s # "error": "got null, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/2/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s ok 1404 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 353s # result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/not" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/not" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/2/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s # short-circuited result: { 353s # "errors": [ 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/0/$ref/not" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 353s # "error": "subschema is valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/1/$ref/not" 353s # }, 353s # { 353s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 353s # "error": "got integer, not string", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf/2/$ref/type" 353s # }, 353s # { 353s # "error": "no subschemas are valid", 353s # "instanceLocation": "", 353s # "keywordLocation": "/anyOf" 353s # } 353s # ], 353s # "valid": false 353s # } 353s ok 1 - test passes: data is valid: false 353s 1..1 353s } 353s # 353s # 353s # generated with: Test::JSON::Schema::Acceptance 1.026 353s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 353s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 353s # specification version: draft2020-12 353s # optional tests included: yes 353s # skipping directory: optional/format 353s # 353s # filename pass todo-fail fail 353s # --------------------------------------------------------------- 353s # additionalProperties.json 21 0 0 353s # allOf.json 30 0 0 353s # anchor.json 8 0 0 353s # anyOf.json 18 0 0 353s # boolean_schema.json 18 0 0 353s # const.json 50 0 0 353s # contains.json 21 0 0 353s # content.json 18 0 0 353s # default.json 7 0 0 353s # defs.json 2 0 0 353s # dependentRequired.json 20 0 0 353s # dependentSchemas.json 20 0 0 353s # dynamicRef.json 42 0 0 353s # enum.json 45 0 0 353s # exclusiveMaximum.json 4 0 0 353s # exclusiveMinimum.json 4 0 0 353s # format.json 133 0 0 353s # if-then-else.json 26 0 0 353s # infinite-loop-detection.json 2 0 0 353s # items.json 29 0 0 353s # maxContains.json 12 0 0 353s # maxItems.json 6 0 0 353s # maxLength.json 7 0 0 353s # maxProperties.json 10 0 0 353s # maximum.json 8 0 0 353s # minContains.json 28 0 0 353s # minItems.json 6 0 0 353s # minLength.json 7 0 0 353s # minProperties.json 8 0 0 353s # minimum.json 11 0 0 353s # multipleOf.json 10 0 0 353s # not.json 40 0 0 353s # oneOf.json 27 0 0 353s # pattern.json 9 0 0 353s # patternProperties.json 23 0 0 353s # prefixItems.json 11 0 0 353s # properties.json 28 0 0 353s # propertyNames.json 10 0 0 353s # ref.json 77 0 0 353s # refRemote.json 31 0 0 353s # required.json 16 0 0 353s # type.json 80 0 0 353s # unevaluatedItems.json 66 0 0 353s # unevaluatedProperties.json 122 0 0 353s # uniqueItems.json 69 0 0 353s # vocabulary.json 5 0 0 353s # optional/anchor.json 4 0 0 353s # optional/bignum.json 9 0 0 353s # optional/cross-draft.json 1 0 0 353s # optional/dependencies-compatibility.json 22 14 0 353s # optional/dynamicRef.json 2 0 0 353s # optional/ecmascript-regex.json 60 15 0 353s # optional/float-overflow.json 1 0 0 353s # optional/format-assertion.json 4 0 0 353s # optional/id.json 3 0 0 353s # optional/no-schema.json 3 0 0 353s # optional/non-bmp-regex.json 12 0 0 353s # optional/refOfUnknownKeyword.json 3 3 0 353s # optional/unknownKeyword.json 3 0 0 353s # --------------------------------------------------------------- 353s # TOTAL 1372 32 0 353s # 353s # Congratulations, all non-optional tests are passing! 353s # 353s ok 1405 - no leaks in the main evaluator object 353s ok 1406 - no leaks in the short-circuiting evaluator object 353s 1..1406 353s ok 354s t/zzz-acceptance-draft4-format.t ........ 354s # AUTHOR_TESTING: 354s # AUTOMATED_TESTING: 1 354s # EXTENDED_TESTING: 354s # NO_TODO: 354s # TEST_DIR: 354s # NO_SHORT_CIRCUIT: 354s # 354s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft4/optional/format against draft4... 354s # 354s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid date-time", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s # 354s ok 26 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 27 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 28 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 29 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 30 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 31 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 32 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 33 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid email", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid email", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 34 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 35 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 36 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 37 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid email", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid email", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 38 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid email", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid email", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 39 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 40 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid email", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid email", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s # 354s ok 41 - hostname.json: "validation of host names" - "all string formats ignore integers" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 42 - hostname.json: "validation of host names" - "all string formats ignore floats" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 43 - hostname.json: "validation of host names" - "all string formats ignore objects" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 44 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 45 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 46 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 47 - hostname.json: "validation of host names" - "a valid host name" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 48 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 49 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 50 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 51 - hostname.json: "validation of host names" - "a host name with a component too long" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 52 - hostname.json: "validation of host names" - "starts with hyphen" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 53 - hostname.json: "validation of host names" - "ends with hyphen" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 54 - hostname.json: "validation of host names" - "starts with underscore" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 55 - hostname.json: "validation of host names" - "ends with underscore" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 56 - hostname.json: "validation of host names" - "contains underscore" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 57 - hostname.json: "validation of host names" - "maximum label length" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 58 - hostname.json: "validation of host names" - "exceeds maximum label length" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 59 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s not ok 1 - evaluation result is incorrect # 354s # Failed test (with amnesty) 'evaluation result is incorrect' 354s # at t/zzz-acceptance-draft4-format.t line 65. 354s # expected true; got false 354s # data: "\"hostname\"" 354s # schema: "{\"format\":\"hostname\"}" 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s 1..1 354s } 354s ok 60 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s not ok 1 - evaluation result is incorrect # 354s # Failed test (with amnesty) 'evaluation result is incorrect' 354s # at t/zzz-acceptance-draft4-format.t line 65. 354s # expected true; got false 354s # data: "\"host-name\"" 354s # schema: "{\"format\":\"hostname\"}" 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s 1..1 354s } 354s ok 61 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s not ok 1 - evaluation result is incorrect # 354s # Failed test (with amnesty) 'evaluation result is incorrect' 354s # at t/zzz-acceptance-draft4-format.t line 65. 354s # expected true; got false 354s # data: "\"h0stn4me\"" 354s # schema: "{\"format\":\"hostname\"}" 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s 1..1 354s } 354s ok 62 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s not ok 1 - evaluation result is incorrect # 354s # Failed test (with amnesty) 'evaluation result is incorrect' 354s # at t/zzz-acceptance-draft4-format.t line 65. 354s # expected true; got false 354s # data: "\"hostnam3\"" 354s # schema: "{\"format\":\"hostname\"}" 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid hostname", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s 1..1 354s } 354s # 354s ok 63 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 64 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 65 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 66 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 67 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 68 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 69 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 70 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 71 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 72 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 73 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 74 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 75 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 76 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 77 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 78 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv4", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s # 354s ok 79 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 80 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 81 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 82 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 83 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 84 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 85 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 86 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 87 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 88 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 89 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 90 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 91 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 92 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 93 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 94 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 95 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 96 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 97 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 98 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 99 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 100 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 101 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 102 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 103 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 104 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 105 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 106 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 107 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 108 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 109 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 110 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 111 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 112 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 113 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 114 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 115 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 116 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 117 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 118 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid ipv6", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s # 354s ok 119 - unknown.json: "unknown format" - "unknown formats ignore integers" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 120 - unknown.json: "unknown format" - "unknown formats ignore floats" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 121 - unknown.json: "unknown format" - "unknown formats ignore objects" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 122 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 123 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 124 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 125 - unknown.json: "unknown format" - "unknown formats ignore strings" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s # 354s ok 126 - uri.json: "validation of URIs" - "all string formats ignore integers" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 127 - uri.json: "validation of URIs" - "all string formats ignore floats" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 128 - uri.json: "validation of URIs" - "all string formats ignore objects" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 129 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 130 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 131 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 132 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 133 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 134 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 135 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 136 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 137 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 138 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 139 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 140 - uri.json: "validation of URIs" - "a valid URL " { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 141 - uri.json: "validation of URIs" - "a valid mailto URI" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 142 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 143 - uri.json: "validation of URIs" - "a valid tel URI" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 144 - uri.json: "validation of URIs" - "a valid URN" { 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s ok 1 - test passes: data is valid: true 354s 1..1 354s } 354s ok 145 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 146 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 147 - uri.json: "validation of URIs" - "an invalid URI" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 148 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 149 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 150 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 354s # result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s # short-circuited result: { 354s # "errors": [ 354s # { 354s # "error": "not a valid uri", 354s # "instanceLocation": "", 354s # "keywordLocation": "/format" 354s # } 354s # ], 354s # "valid": false 354s # } 354s ok 1 - test passes: data is valid: false 354s 1..1 354s } 354s ok 151 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 354s # result: { 354s # "valid": true 354s # } 354s # short-circuited result: { 354s # "valid": true 354s # } 354s not ok 1 - evaluation result is incorrect # 354s # Failed test (with amnesty) 'evaluation result is incorrect' 354s # at t/zzz-acceptance-draft4-format.t line 65. 354s # expected false; got true 354s # data: "\"bar,baz:foo\"" 354s # schema: "{\"format\":\"uri\"}" 354s # result: { 354s # "valid": true 354s # } 354s 1..1 354s } 354s # 354s # 354s # generated with: Test::JSON::Schema::Acceptance 1.026 354s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 354s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 354s # specification version: draft4 354s # using custom test directory: /optional/format 354s # optional tests included: yes 354s # 354s # filename pass todo-fail fail 354s # --------------------------------------------------------------- 354s # date-time.json 25 0 0 354s # email.json 15 0 0 354s # hostname.json 18 4 0 354s # ipv4.json 16 0 0 354s # ipv6.json 40 0 0 354s # unknown.json 7 0 0 354s # uri.json 25 1 0 354s # --------------------------------------------------------------- 354s # TOTAL 146 5 0 354s # 354s # Congratulations, all non-optional tests are passing! 354s # 354s ok 152 - no leaks in the main evaluator object 354s ok 153 - no leaks in the short-circuiting evaluator object 354s 1..153 354s ok 359s t/zzz-acceptance-draft4.t ............... 359s # AUTHOR_TESTING: 359s # AUTOMATED_TESTING: 1 359s # EXTENDED_TESTING: 359s # NO_TODO: 359s # TEST_DIR: 359s # NO_SHORT_CIRCUIT: 359s # 359s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 359s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft4 against draft4... 359s # 359s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 359s # result: { 359s # "errors": [ 359s # { 359s # "error": "got string, not integer", 359s # "instanceLocation": "/3", 359s # "keywordLocation": "/additionalItems/type" 359s # }, 359s # { 359s # "error": "subschema is not valid against all additional items", 359s # "instanceLocation": "", 359s # "keywordLocation": "/additionalItems" 359s # } 359s # ], 359s # "valid": false 359s # } 359s # short-circuited result: { 359s # "errors": [ 359s # { 359s # "error": "got string, not integer", 359s # "instanceLocation": "/3", 359s # "keywordLocation": "/additionalItems/type" 359s # }, 359s # { 359s # "error": "subschema is not valid against all additional items", 359s # "instanceLocation": "", 359s # "keywordLocation": "/additionalItems" 359s # } 359s # ], 359s # "valid": false 359s # } 359s ok 1 - test passes: data is valid: false 359s 1..1 359s } 359s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "all items match schema" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 4 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 5 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 359s # result: { 359s # "errors": [ 359s # { 359s # "error": "additional item not permitted", 359s # "instanceLocation": "/3", 359s # "keywordLocation": "/additionalItems" 359s # }, 359s # { 359s # "error": "subschema is not valid against all additional items", 359s # "instanceLocation": "", 359s # "keywordLocation": "/additionalItems" 359s # } 359s # ], 359s # "valid": false 359s # } 359s # short-circuited result: { 359s # "errors": [ 359s # { 359s # "error": "additional item not permitted", 359s # "instanceLocation": "/3", 359s # "keywordLocation": "/additionalItems" 359s # }, 359s # { 359s # "error": "subschema is not valid against all additional items", 359s # "instanceLocation": "", 359s # "keywordLocation": "/additionalItems" 359s # } 359s # ], 359s # "valid": false 359s # } 359s ok 1 - test passes: data is valid: false 359s 1..1 359s } 359s ok 9 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 10 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 11 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 12 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 13 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 359s # result: { 359s # "errors": [ 359s # { 359s # "error": "got string, not boolean", 359s # "instanceLocation": "/1", 359s # "keywordLocation": "/additionalItems/type" 359s # }, 359s # { 359s # "error": "subschema is not valid against all additional items", 359s # "instanceLocation": "", 359s # "keywordLocation": "/additionalItems" 359s # } 359s # ], 359s # "valid": false 359s # } 359s # short-circuited result: { 359s # "errors": [ 359s # { 359s # "error": "got string, not boolean", 359s # "instanceLocation": "/1", 359s # "keywordLocation": "/additionalItems/type" 359s # }, 359s # { 359s # "error": "subschema is not valid against all additional items", 359s # "instanceLocation": "", 359s # "keywordLocation": "/additionalItems" 359s # } 359s # ], 359s # "valid": false 359s # } 359s ok 1 - test passes: data is valid: false 359s 1..1 359s } 359s ok 14 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 359s # result: { 359s # "valid": true 359s # } 359s # short-circuited result: { 359s # "valid": true 359s # } 359s ok 1 - test passes: data is valid: true 359s 1..1 359s } 359s ok 15 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 359s # result: { 359s # "errors": [ 359s # { 359s # "error": "got string, not integer", 359s # "instanceLocation": "/1", 359s # "keywordLocation": "/additionalItems/type" 359s # }, 359s # { 359s # "error": "subschema is not valid against all additional items", 359s # "instanceLocation": "", 359s # "keywordLocation": "/additionalItems" 359s # } 359s # ], 359s # "valid": false 359s # } 359s # short-circuited result: { 359s # "errors": [ 359s # { 359s # "error": "got string, not integer", 359s # "instanceLocation": "/1", 359s # "keywordLocation": "/additionalItems/type" 359s # }, 359s # { 359s # "error": "subschema is not valid against all additional items", 359s # "instanceLocation": "", 359s # "keywordLocation": "/additionalItems" 359s # } 359s # ], 359s # "valid": false 359s # } 359s ok 1 - test passes: data is valid: false 359s 1..1 359s } 359s ok 16 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 359s # result: { 359s # "errors": [ 359s # { 359s # "error": "additional item not permitted", 359s # "instanceLocation": "/1", 359s # "keywordLocation": "/additionalItems" 359s # }, 359s # { 359s # "error": "additional item not permitted", 359s # "instanceLocation": "/2", 359s # "keywordLocation": "/additionalItems" 359s # }, 359s # { 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional item not permitted", 360s # "instanceLocation": "/1", 360s # "keywordLocation": "/additionalItems" 360s # }, 360s # { 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 17 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 18 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 19 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 20 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/quux", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/quux", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 25 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 26 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/élmény", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/élmény", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 27 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 28 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 29 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "/quux", 360s # "keywordLocation": "/additionalProperties/type" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "/quux", 360s # "keywordLocation": "/additionalProperties/type" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 30 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 31 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/additionalProperties/type" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/additionalProperties/type" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 32 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 33 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/additionalProperties/type" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/additionalProperties/type" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 34 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 35 - allOf.json: "allOf" - "allOf" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 36 - allOf.json: "allOf" - "mismatch second" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/required" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/required" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 37 - allOf.json: "allOf" - "mismatch first" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/1/required" 360s # }, 360s # { 360s # "error": "subschema 1 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/1/required" 360s # }, 360s # { 360s # "error": "subschema 1 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 38 - allOf.json: "allOf" - "wrong type" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/allOf/0/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/properties" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/allOf/0/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/properties" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 39 - allOf.json: "allOf with base schema" - "valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 40 - allOf.json: "allOf with base schema" - "mismatch base schema" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 41 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/required" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/required" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 42 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: baz", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/1/required" 360s # }, 360s # { 360s # "error": "subschema 1 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: baz", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/1/required" 360s # }, 360s # { 360s # "error": "subschema 1 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 43 - allOf.json: "allOf with base schema" - "mismatch both" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/required" 360s # }, 360s # { 360s # "error": "object is missing property: baz", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/1/required" 360s # }, 360s # { 360s # "error": "subschemas 0, 1 are not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/required" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 44 - allOf.json: "allOf simple types" - "valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 45 - allOf.json: "allOf simple types" - "mismatch one" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 30", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/maximum" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 30", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/maximum" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 46 - allOf.json: "allOf with one empty schema" - "any data is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 47 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 48 - allOf.json: "allOf with the first empty schema" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 49 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/1/type" 360s # }, 360s # { 360s # "error": "subschema 1 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/1/type" 360s # }, 360s # { 360s # "error": "subschema 1 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 50 - allOf.json: "allOf with the last empty schema" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 51 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 52 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 53 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/allOf/0/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/allOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/allOf/0/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/allOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 54 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # }, 360s # { 360s # "error": "value is not a multiple of 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # }, 360s # { 360s # "error": "value is not a multiple of 5", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 55 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # }, 360s # { 360s # "error": "value is not a multiple of 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 56 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # }, 360s # { 360s # "error": "value is not a multiple of 5", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 57 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 58 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # }, 360s # { 360s # "error": "value is not a multiple of 5", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 59 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 60 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 5", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 5", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/multipleOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 61 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 62 - anyOf.json: "anyOf" - "first anyOf valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 63 - anyOf.json: "anyOf" - "second anyOf valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 64 - anyOf.json: "anyOf" - "both anyOf valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 65 - anyOf.json: "anyOf" - "neither anyOf valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/type" 360s # }, 360s # { 360s # "error": "value is less than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/1/minimum" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/type" 360s # }, 360s # { 360s # "error": "value is less than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/1/minimum" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 66 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 67 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 68 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "length is greater than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/maxLength" 360s # }, 360s # { 360s # "error": "length is less than 4", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/1/minLength" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "length is greater than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/maxLength" 360s # }, 360s # { 360s # "error": "length is less than 4", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/1/minLength" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 69 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 70 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 71 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 72 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/anyOf/0/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/properties" 360s # }, 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/anyOf/1/properties/foo/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/1/properties" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/anyOf/0/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/properties" 360s # }, 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/anyOf/1/properties/foo/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/1/properties" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 73 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 74 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 75 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 76 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/anyOf/0/type" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/anyOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/anyOf/0/type" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/anyOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 77 - default.json: "invalid type for default" - "valid when property is specified" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 78 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 79 - default.json: "invalid string value for default" - "valid when property is specified" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 80 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s 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)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s 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)" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 3", 360s # "instanceLocation": "/alpha", 360s # "keywordLocation": "/properties/alpha/maximum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 3", 360s # "instanceLocation": "/alpha", 360s # "keywordLocation": "/properties/alpha/maximum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s 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" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 84 - definitions.json: "validate definition against metaschema" - "valid definition schema" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 85 - definitions.json: "validate definition against metaschema" - "invalid definition schema" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/simpleTypes/enum", 360s # "error": "value does not match", 360s # "instanceLocation": "/definitions/foo/type", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf/1/type", 360s # "error": "got integer, not array", 360s # "instanceLocation": "/definitions/foo/type", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf", 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "/definitions/foo/type", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/definitions/foo", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/definitions/additionalProperties", 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "/definitions", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/simpleTypes/enum", 360s # "error": "value does not match", 360s # "instanceLocation": "/definitions/foo/type", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf/1/type", 360s # "error": "got integer, not array", 360s # "instanceLocation": "/definitions/foo/type", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf", 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "/definitions/foo/type", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/definitions/foo", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/definitions/additionalProperties", 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "/definitions", 360s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 86 - dependencies.json: "dependencies" - "neither" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 87 - dependencies.json: "dependencies" - "nondependant" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 88 - dependencies.json: "dependencies" - "with dependency" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 89 - dependencies.json: "dependencies" - "missing dependency" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/bar" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/bar" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 90 - dependencies.json: "dependencies" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 91 - dependencies.json: "dependencies" - "ignores strings" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 92 - dependencies.json: "dependencies" - "ignores other non-objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 93 - dependencies.json: "multiple dependencies" - "neither" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 94 - dependencies.json: "multiple dependencies" - "nondependants" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 95 - dependencies.json: "multiple dependencies" - "with dependencies" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 96 - dependencies.json: "multiple dependencies" - "missing dependency" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/quux" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/quux" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 97 - dependencies.json: "multiple dependencies" - "missing other dependency" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/quux" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/quux" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 98 - dependencies.json: "multiple dependencies" - "missing both dependencies" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: foo, bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/quux" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: foo, bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/quux" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 99 - dependencies.json: "multiple dependencies subschema" - "valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 100 - dependencies.json: "multiple dependencies subschema" - "no dependency" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 101 - dependencies.json: "multiple dependencies subschema" - "wrong type" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/dependencies/bar/properties/foo/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/bar/properties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/dependencies/bar/properties/foo/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/bar/properties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 102 - dependencies.json: "multiple dependencies subschema" - "wrong type other" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/dependencies/bar/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/bar/properties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/dependencies/bar/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/bar/properties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 103 - dependencies.json: "multiple dependencies subschema" - "wrong type both" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/dependencies/bar/properties/bar/type" 360s # }, 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/dependencies/bar/properties/foo/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/bar/properties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/dependencies/bar/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/bar/properties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 104 - dependencies.json: "dependencies with escaped characters" - "valid object 1" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 105 - dependencies.json: "dependencies with escaped characters" - "valid object 2" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 106 - dependencies.json: "dependencies with escaped characters" - "valid object 3" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 107 - dependencies.json: "dependencies with escaped characters" - "invalid object 1" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo\rbar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo\nbar" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo\rbar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo\nbar" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 108 - dependencies.json: "dependencies with escaped characters" - "invalid object 2" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object has fewer than 4 properties", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object has fewer than 4 properties", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 109 - dependencies.json: "dependencies with escaped characters" - "invalid object 3" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo\"bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo'bar/required" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo\"bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo'bar/required" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 110 - dependencies.json: "dependencies with escaped characters" - "invalid object 4" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo'bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo\"bar" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo'bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo\"bar" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 111 - dependencies.json: "dependent subschema incompatible with root" - "matches root" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/dependencies/foo/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo/additionalProperties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/dependencies/foo/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo/additionalProperties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 112 - dependencies.json: "dependent subschema incompatible with root" - "matches dependency" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 113 - dependencies.json: "dependent subschema incompatible with root" - "matches both" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/dependencies/foo/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo/additionalProperties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/dependencies/foo/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies/foo/additionalProperties" 360s # }, 360s # { 360s # "error": "not all dependencies are satisfied", 360s # "instanceLocation": "", 360s # "keywordLocation": "/dependencies" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 114 - dependencies.json: "dependent subschema incompatible with root" - "no dependency" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 115 - enum.json: "simple enum validation" - "one of the enum is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 116 - enum.json: "simple enum validation" - "something else is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 117 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 118 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 119 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 360s # result: { 360s # "errors": [ 360s # { 360s # "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)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "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)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 120 - enum.json: "heterogeneous enum validation" - "valid object matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 121 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 122 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 123 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 124 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 125 - enum.json: "enums in properties" - "both properties are valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 126 - enum.json: "enums in properties" - "wrong foo value" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/enum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/enum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 127 - enum.json: "enums in properties" - "wrong bar value" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/properties/bar/enum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/properties/bar/enum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 128 - enum.json: "enums in properties" - "missing optional property is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 129 - enum.json: "enums in properties" - "missing required property is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 130 - enum.json: "enums in properties" - "missing all properties is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 131 - enum.json: "enum with escaped characters" - "member 1 is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 132 - enum.json: "enum with escaped characters" - "member 2 is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 133 - enum.json: "enum with escaped characters" - "another string is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 134 - enum.json: "enum with false does not match 0" - "false is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 135 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 136 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 137 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 138 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 139 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 140 - enum.json: "enum with true does not match 1" - "true is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 141 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 142 - enum.json: "enum with true does not match 1" - "float one is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 143 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 144 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 145 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 146 - enum.json: "enum with 0 does not match false" - "false is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 147 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 148 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 149 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 150 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 151 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 152 - enum.json: "enum with 1 does not match true" - "true is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 153 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 154 - enum.json: "enum with 1 does not match true" - "float one is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 155 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 156 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 157 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 158 - enum.json: "nul characters in strings" - "match string with nul" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 159 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 160 - format.json: "email format" - "all string formats ignore integers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 161 - format.json: "email format" - "all string formats ignore floats" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 162 - format.json: "email format" - "all string formats ignore objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 163 - format.json: "email format" - "all string formats ignore arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 164 - format.json: "email format" - "all string formats ignore booleans" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 165 - format.json: "email format" - "all string formats ignore nulls" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 166 - format.json: "ipv4 format" - "all string formats ignore integers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 167 - format.json: "ipv4 format" - "all string formats ignore floats" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 168 - format.json: "ipv4 format" - "all string formats ignore objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 169 - format.json: "ipv4 format" - "all string formats ignore arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 170 - format.json: "ipv4 format" - "all string formats ignore booleans" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 171 - format.json: "ipv4 format" - "all string formats ignore nulls" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 172 - format.json: "ipv6 format" - "all string formats ignore integers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 173 - format.json: "ipv6 format" - "all string formats ignore floats" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 174 - format.json: "ipv6 format" - "all string formats ignore objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 175 - format.json: "ipv6 format" - "all string formats ignore arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 176 - format.json: "ipv6 format" - "all string formats ignore booleans" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 177 - format.json: "ipv6 format" - "all string formats ignore nulls" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 178 - format.json: "hostname format" - "all string formats ignore integers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 179 - format.json: "hostname format" - "all string formats ignore floats" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 180 - format.json: "hostname format" - "all string formats ignore objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 181 - format.json: "hostname format" - "all string formats ignore arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 182 - format.json: "hostname format" - "all string formats ignore booleans" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 183 - format.json: "hostname format" - "all string formats ignore nulls" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 184 - format.json: "date-time format" - "all string formats ignore integers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 185 - format.json: "date-time format" - "all string formats ignore floats" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 186 - format.json: "date-time format" - "all string formats ignore objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 187 - format.json: "date-time format" - "all string formats ignore arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 188 - format.json: "date-time format" - "all string formats ignore booleans" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 189 - format.json: "date-time format" - "all string formats ignore nulls" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 190 - format.json: "uri format" - "all string formats ignore integers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 191 - format.json: "uri format" - "all string formats ignore floats" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 192 - format.json: "uri format" - "all string formats ignore objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 193 - format.json: "uri format" - "all string formats ignore arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 194 - format.json: "uri format" - "all string formats ignore booleans" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 195 - format.json: "uri format" - "all string formats ignore nulls" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s 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" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s 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" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/int/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/properties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "#/definitions/int/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/1/additionalProperties" 360s # }, 360s # { 360s # "error": "subschemas 0, 1 are not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/int/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/properties" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 198 - items.json: "a schema given for items" - "valid items" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 199 - items.json: "a schema given for items" - "wrong type of items" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/1", 360s # "keywordLocation": "/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/1", 360s # "keywordLocation": "/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 200 - items.json: "a schema given for items" - "ignores non-arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 201 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 202 - items.json: "an array of schemas for items" - "correct types" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 203 - items.json: "an array of schemas for items" - "wrong types" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/0/type" 360s # }, 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/1", 360s # "keywordLocation": "/items/1/type" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/0/type" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 204 - items.json: "an array of schemas for items" - "incomplete array of items" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 205 - items.json: "an array of schemas for items" - "array with additional items" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 206 - items.json: "an array of schemas for items" - "empty array" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 207 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 208 - items.json: "items and subitems" - "valid items" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 209 - items.json: "items and subitems" - "too many items" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional item not permitted", 360s # "instanceLocation": "/3", 360s # "keywordLocation": "/additionalItems" 360s # }, 360s # { 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional item not permitted", 360s # "instanceLocation": "/3", 360s # "keywordLocation": "/additionalItems" 360s # }, 360s # { 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 210 - items.json: "items and subitems" - "too many sub-items" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 360s # "error": "additional item not permitted", 360s # "instanceLocation": "/0/2", 360s # "keywordLocation": "/items/0/$ref/additionalItems" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/0/$ref/additionalItems" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 360s # "error": "additional item not permitted", 360s # "instanceLocation": "/0/2", 360s # "keywordLocation": "/items/0/$ref/additionalItems" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/0/$ref/additionalItems" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 211 - items.json: "items and subitems" - "wrong item" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/item/type", 360s # "error": "got object, not array", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/0/$ref/type" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/item/type", 360s # "error": "got object, not array", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/0/$ref/type" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 212 - items.json: "items and subitems" - "wrong sub-item" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "/0/0", 360s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "#/definitions/item/items", 360s # "error": "not all items are valid", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/0/$ref/items" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "/0/0", 360s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "#/definitions/item/items", 360s # "error": "not all items are valid", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/0/$ref/items" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 213 - items.json: "items and subitems" - "fewer items is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 214 - items.json: "nested items" - "valid nested array" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 215 - items.json: "nested items" - "nested array with invalid type" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/0/0/0/0", 360s # "keywordLocation": "/items/items/items/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0/0/0", 360s # "keywordLocation": "/items/items/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0/0", 360s # "keywordLocation": "/items/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/0/0/0/0", 360s # "keywordLocation": "/items/items/items/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0/0/0", 360s # "keywordLocation": "/items/items/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0/0", 360s # "keywordLocation": "/items/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 216 - items.json: "nested items" - "not deep enough" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not array", 360s # "instanceLocation": "/0/0/0", 360s # "keywordLocation": "/items/items/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0/0", 360s # "keywordLocation": "/items/items/items" 360s # }, 360s # { 360s # "error": "got integer, not array", 360s # "instanceLocation": "/0/1/0", 360s # "keywordLocation": "/items/items/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0/1", 360s # "keywordLocation": "/items/items/items" 360s # }, 360s # { 360s # "error": "got integer, not array", 360s # "instanceLocation": "/0/2/0", 360s # "keywordLocation": "/items/items/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0/2", 360s # "keywordLocation": "/items/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/items" 360s # }, 360s # { 360s # "error": "got integer, not array", 360s # "instanceLocation": "/1/0/0", 360s # "keywordLocation": "/items/items/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/1/0", 360s # "keywordLocation": "/items/items/items" 360s # }, 360s # { 360s # "error": "got integer, not array", 360s # "instanceLocation": "/1/1/0", 360s # "keywordLocation": "/items/items/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/1/1", 360s # "keywordLocation": "/items/items/items" 360s # }, 360s # { 360s # "error": "got integer, not array", 360s # "instanceLocation": "/1/2/0", 360s # "keywordLocation": "/items/items/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/1/2", 360s # "keywordLocation": "/items/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/1", 360s # "keywordLocation": "/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not array", 360s # "instanceLocation": "/0/0/0", 360s # "keywordLocation": "/items/items/items/type" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0/0", 360s # "keywordLocation": "/items/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/items" 360s # }, 360s # { 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 217 - items.json: "items with null instance elements" - "allows null elements" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 218 - items.json: "array-form items with null instance elements" - "allows null elements" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 219 - maxItems.json: "maxItems validation" - "shorter is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 220 - maxItems.json: "maxItems validation" - "exact length is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 221 - maxItems.json: "maxItems validation" - "too long is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "array has more than 2 items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maxItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "array has more than 2 items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maxItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 222 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 223 - maxLength.json: "maxLength validation" - "shorter is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 224 - maxLength.json: "maxLength validation" - "exact length is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 225 - maxLength.json: "maxLength validation" - "too long is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "length is greater than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maxLength" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "length is greater than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maxLength" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 226 - maxLength.json: "maxLength validation" - "ignores non-strings" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 227 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 228 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 229 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 230 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object has more than 2 properties", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maxProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object has more than 2 properties", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maxProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 231 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 232 - maxProperties.json: "maxProperties validation" - "ignores strings" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 233 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 234 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 235 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object has more than 0 property", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maxProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object has more than 0 property", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maxProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 236 - maximum.json: "maximum validation" - "below the maximum is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 237 - maximum.json: "maximum validation" - "boundary point is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 238 - maximum.json: "maximum validation" - "above the maximum is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 239 - maximum.json: "maximum validation" - "ignores non-numbers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 240 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 241 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 242 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 243 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 300", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 300", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 244 - maximum.json: "maximum validation (explicit false exclusivity)" - "below the maximum is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 245 - maximum.json: "maximum validation (explicit false exclusivity)" - "boundary point is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 246 - maximum.json: "maximum validation (explicit false exclusivity)" - "above the maximum is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 247 - maximum.json: "maximum validation (explicit false exclusivity)" - "ignores non-numbers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 248 - maximum.json: "exclusiveMaximum validation" - "below the maximum is still valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 249 - maximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than or equal to 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than or equal to 3", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 250 - minItems.json: "minItems validation" - "longer is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 251 - minItems.json: "minItems validation" - "exact length is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 252 - minItems.json: "minItems validation" - "too short is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "array has fewer than 1 item", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "array has fewer than 1 item", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 253 - minItems.json: "minItems validation" - "ignores non-arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 254 - minLength.json: "minLength validation" - "longer is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 255 - minLength.json: "minLength validation" - "exact length is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 256 - minLength.json: "minLength validation" - "too short is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "length is less than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minLength" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "length is less than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minLength" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 257 - minLength.json: "minLength validation" - "ignores non-strings" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 258 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "length is less than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minLength" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "length is less than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minLength" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 259 - minProperties.json: "minProperties validation" - "longer is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 260 - minProperties.json: "minProperties validation" - "exact length is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 261 - minProperties.json: "minProperties validation" - "too short is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object has fewer than 1 property", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object has fewer than 1 property", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 262 - minProperties.json: "minProperties validation" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 263 - minProperties.json: "minProperties validation" - "ignores strings" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 264 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 265 - minimum.json: "minimum validation" - "above the minimum is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 266 - minimum.json: "minimum validation" - "boundary point is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 267 - minimum.json: "minimum validation" - "below the minimum is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than 1.1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than 1.1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 268 - minimum.json: "minimum validation" - "ignores non-numbers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 269 - minimum.json: "minimum validation (explicit false exclusivity)" - "above the minimum is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 270 - minimum.json: "minimum validation (explicit false exclusivity)" - "boundary point is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 271 - minimum.json: "minimum validation (explicit false exclusivity)" - "below the minimum is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than 1.1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than 1.1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 272 - minimum.json: "minimum validation (explicit false exclusivity)" - "ignores non-numbers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 273 - minimum.json: "exclusiveMinimum validation" - "above the minimum is still valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 274 - minimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than or equal to 1.1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than or equal to 1.1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 275 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 276 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 277 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 278 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 279 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than -2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than -2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 280 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than -2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than -2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 281 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 282 - multipleOf.json: "by int" - "int by int" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 283 - multipleOf.json: "by int" - "int by int fail" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/multipleOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/multipleOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 284 - multipleOf.json: "by int" - "ignores non-numbers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 285 - multipleOf.json: "by number" - "zero is multiple of anything" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 286 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 287 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 1.5", 360s # "instanceLocation": "", 360s # "keywordLocation": "/multipleOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 1.5", 360s # "instanceLocation": "", 360s # "keywordLocation": "/multipleOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 288 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 289 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 0.0001", 360s # "instanceLocation": "", 360s # "keywordLocation": "/multipleOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is not a multiple of 0.0001", 360s # "instanceLocation": "", 360s # "keywordLocation": "/multipleOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 290 - multipleOf.json: "float division = inf" - "invalid, but naive implementations may raise an overflow error" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # }, 360s # { 360s # "error": "value is not a multiple of 0.123456789", 360s # "instanceLocation": "", 360s # "keywordLocation": "/multipleOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 291 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 292 - not.json: "not" - "allowed" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 293 - not.json: "not" - "disallowed" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 294 - not.json: "not multiple types" - "valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 295 - not.json: "not multiple types" - "mismatch" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 296 - not.json: "not multiple types" - "other mismatch" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 297 - not.json: "not more complex schema" - "match" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 298 - not.json: "not more complex schema" - "other match" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 299 - not.json: "not more complex schema" - "mismatch" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 300 - not.json: "forbidden property" - "property present" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/not" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/not" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 301 - not.json: "forbidden property" - "property absent" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 302 - not.json: "forbid everything with empty schema" - "number is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 303 - not.json: "forbid everything with empty schema" - "string is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 304 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 305 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 306 - not.json: "forbid everything with empty schema" - "null is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 307 - not.json: "forbid everything with empty schema" - "object is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 308 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 309 - not.json: "forbid everything with empty schema" - "array is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 310 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "subschema is valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/not" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 311 - not.json: "double negation" - "any value is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 312 - oneOf.json: "oneOf" - "first oneOf valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 313 - oneOf.json: "oneOf" - "second oneOf valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 314 - oneOf.json: "oneOf" - "both oneOf valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 315 - oneOf.json: "oneOf" - "neither oneOf valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/type" 360s # }, 360s # { 360s # "error": "value is less than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/1/minimum" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/type" 360s # }, 360s # { 360s # "error": "value is less than 2", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/1/minimum" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 316 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # }, 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 317 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 318 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 319 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 320 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 321 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 322 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/oneOf/0/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/properties" 360s # }, 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/oneOf/1/properties/foo/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/1/properties" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/oneOf/0/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/properties" 360s # }, 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/oneOf/1/properties/foo/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/1/properties" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 323 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 324 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 325 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/required" 360s # }, 360s # { 360s # "error": "object is missing properties: foo, baz", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/1/required" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/required" 360s # }, 360s # { 360s # "error": "object is missing properties: foo, baz", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/1/required" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 326 - oneOf.json: "oneOf with required" - "first valid - valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 327 - oneOf.json: "oneOf with required" - "second valid - valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 328 - oneOf.json: "oneOf with required" - "both valid - invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 329 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 330 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 331 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "multiple subschemas are valid: 0, 1", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 332 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/required" 360s # }, 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/1/required" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: bar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/required" 360s # }, 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/1/required" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 333 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 334 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/oneOf/0/type" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/oneOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/oneOf/0/type" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf/0/oneOf" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/oneOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 335 - pattern.json: "pattern validation" - "a matching pattern is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 336 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 337 - pattern.json: "pattern validation" - "ignores booleans" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 338 - pattern.json: "pattern validation" - "ignores integers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 339 - pattern.json: "pattern validation" - "ignores floats" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 340 - pattern.json: "pattern validation" - "ignores objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 341 - pattern.json: "pattern validation" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 342 - pattern.json: "pattern validation" - "ignores null" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 343 - pattern.json: "pattern is not anchored" - "matches a substring" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 344 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 345 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 346 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/patternProperties/f.*o/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/patternProperties/f.*o/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 347 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/patternProperties/f.*o/type" 360s # }, 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foooooo", 360s # "keywordLocation": "/patternProperties/f.*o/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/patternProperties/f.*o/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 348 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 349 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 350 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 351 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 352 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 353 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 354 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/a", 360s # "keywordLocation": "/patternProperties/a*/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/a", 360s # "keywordLocation": "/patternProperties/a*/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 355 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 20", 360s # "instanceLocation": "/aaaa", 360s # "keywordLocation": "/patternProperties/aaa*/maximum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than 20", 360s # "instanceLocation": "/aaaa", 360s # "keywordLocation": "/patternProperties/aaa*/maximum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 356 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/aaa", 360s # "keywordLocation": "/patternProperties/a*/type" 360s # }, 360s # { 360s # "error": "value is greater than 20", 360s # "instanceLocation": "/aaaa", 360s # "keywordLocation": "/patternProperties/aaa*/maximum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/aaa", 360s # "keywordLocation": "/patternProperties/a*/type" 360s # }, 360s # { 360s # "error": "value is greater than 20", 360s # "instanceLocation": "/aaaa", 360s # "keywordLocation": "/patternProperties/aaa*/maximum" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 357 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 358 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not boolean", 360s # "instanceLocation": "/a31b", 360s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not boolean", 360s # "instanceLocation": "/a31b", 360s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 359 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 360 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/a_X_3", 360s # "keywordLocation": "/patternProperties/X_/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/a_X_3", 360s # "keywordLocation": "/patternProperties/X_/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 361 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 362 - properties.json: "object properties validation" - "both properties present and valid is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 363 - properties.json: "object properties validation" - "one property invalid is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not string", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not string", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 364 - properties.json: "object properties validation" - "both properties invalid is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not string", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/properties/bar/type" 360s # }, 360s # { 360s # "error": "got array, not integer", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not string", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/properties/bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 365 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 366 - properties.json: "object properties validation" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 367 - properties.json: "object properties validation" - "ignores other non-objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 368 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 369 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "array has more than 3 items", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/maxItems" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "array has more than 3 items", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/maxItems" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 370 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "array has fewer than 2 items", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/patternProperties/f.o/minItems" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "array has fewer than 2 items", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/patternProperties/f.o/minItems" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 371 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 372 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "array has fewer than 2 items", 360s # "instanceLocation": "/fxo", 360s # "keywordLocation": "/patternProperties/f.o/minItems" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "array has fewer than 2 items", 360s # "instanceLocation": "/fxo", 360s # "keywordLocation": "/patternProperties/f.o/minItems" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 373 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 374 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 375 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/quux", 360s # "keywordLocation": "/additionalProperties/type" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/quux", 360s # "keywordLocation": "/additionalProperties/type" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 376 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 377 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/foo\tbar", 360s # "keywordLocation": "/properties/foo\tbar/type" 360s # }, 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/foo\nbar", 360s # "keywordLocation": "/properties/foo\nbar/type" 360s # }, 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/foo\fbar", 360s # "keywordLocation": "/properties/foo\fbar/type" 360s # }, 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/foo\rbar", 360s # "keywordLocation": "/properties/foo\rbar/type" 360s # }, 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/foo\"bar", 360s # "keywordLocation": "/properties/foo\"bar/type" 360s # }, 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/foo\\bar", 360s # "keywordLocation": "/properties/foo\\bar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/foo\tbar", 360s # "keywordLocation": "/properties/foo\tbar/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 378 - properties.json: "properties with null valued instance properties" - "allows null values" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 379 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 380 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 381 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 382 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/__proto__", 360s # "keywordLocation": "/properties/__proto__/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "/__proto__", 360s # "keywordLocation": "/properties/__proto__/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 383 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/toString/length", 360s # "keywordLocation": "/properties/toString/properties/length/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/toString", 360s # "keywordLocation": "/properties/toString/properties" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/toString/length", 360s # "keywordLocation": "/properties/toString/properties/length/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/toString", 360s # "keywordLocation": "/properties/toString/properties" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 384 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not number", 360s # "instanceLocation": "/constructor", 360s # "keywordLocation": "/properties/constructor/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not number", 360s # "instanceLocation": "/constructor", 360s # "keywordLocation": "/properties/constructor/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 385 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 386 - ref.json: "root pointer ref" - "match" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 387 - ref.json: "root pointer ref" - "recursive match" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 388 - ref.json: "root pointer ref" - "mismatch" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 389 - ref.json: "root pointer ref" - "recursive mismatch" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/additionalProperties", 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/foo/bar", 360s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "#/additionalProperties", 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/additionalProperties", 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/foo/bar", 360s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "#/additionalProperties", 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 390 - ref.json: "relative pointer ref to object" - "match" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 391 - ref.json: "relative pointer ref to object" - "mismatch" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/properties/foo/type", 360s # "error": "got boolean, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/properties/bar/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/properties/foo/type", 360s # "error": "got boolean, not integer", 360s # "instanceLocation": "/bar", 360s # "keywordLocation": "/properties/bar/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 392 - ref.json: "relative pointer ref to array" - "match array" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 393 - ref.json: "relative pointer ref to array" - "mismatch array" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/items/0/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/1", 360s # "keywordLocation": "/items/1/$ref/type" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/items/0/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/1", 360s # "keywordLocation": "/items/1/$ref/type" 360s # }, 360s # { 360s # "error": "not all items are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 394 - ref.json: "escaped pointer ref" - "slash invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/slash", 360s # "keywordLocation": "/properties/slash/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/slash", 360s # "keywordLocation": "/properties/slash/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 395 - ref.json: "escaped pointer ref" - "tilde invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/tilde", 360s # "keywordLocation": "/properties/tilde/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/tilde", 360s # "keywordLocation": "/properties/tilde/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 396 - ref.json: "escaped pointer ref" - "percent invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/percent", 360s # "keywordLocation": "/properties/percent/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/percent", 360s # "keywordLocation": "/properties/percent/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 397 - ref.json: "escaped pointer ref" - "slash valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 398 - ref.json: "escaped pointer ref" - "tilde valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 399 - ref.json: "escaped pointer ref" - "percent valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 400 - ref.json: "nested refs" - "nested ref valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 401 - ref.json: "nested refs" - "nested ref invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/a/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/a/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 402 - ref.json: "ref overrides any sibling keywords" - "ref valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 403 - ref.json: "ref overrides any sibling keywords" - "ref valid, maxItems ignored" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 404 - ref.json: "ref overrides any sibling keywords" - "ref invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/reffed/type", 360s # "error": "got string, not array", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/reffed/type", 360s # "error": "got string, not array", 360s # "instanceLocation": "/foo", 360s # "keywordLocation": "/properties/foo/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 405 - ref.json: "$ref prevents a sibling id from changing the base uri" - "$ref resolves to /definitions/base_foo, data does not validate" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 406 - ref.json: "$ref prevents a sibling id from changing the base uri" - "$ref resolves to /definitions/base_foo, data validates" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 407 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 408 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger/minimum", 360s # "error": "value is less than 0", 360s # "instanceLocation": "/minLength", 360s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "/minLength", 360s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger/minimum", 360s # "error": "value is less than 0", 360s # "instanceLocation": "/minLength", 360s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "/minLength", 360s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 409 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 410 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/$ref", 360s # "keywordLocation": "/properties/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not string", 360s # "instanceLocation": "/$ref", 360s # "keywordLocation": "/properties/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 411 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 412 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/is-string/type", 360s # "error": "got integer, not string", 360s # "instanceLocation": "/$ref", 360s # "keywordLocation": "/properties/$ref/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/is-string/type", 360s # "error": "got integer, not string", 360s # "instanceLocation": "/$ref", 360s # "keywordLocation": "/properties/$ref/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 413 - ref.json: "Recursive references between schemas" - "valid tree" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 414 - ref.json: "Recursive references between schemas" - "invalid tree" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/nodes/0/subtree/nodes/0", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/nodes/0/subtree/nodes", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/nodes/0/subtree", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/nodes/0", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/nodes", 360s # "keywordLocation": "/properties/nodes/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/nodes/0/subtree/nodes/0", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/nodes/0/subtree/nodes", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/nodes/0/subtree", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "/nodes/0", 360s # "keywordLocation": "/properties/nodes/items/$ref/properties" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/nodes", 360s # "keywordLocation": "/properties/nodes/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 415 - ref.json: "refs with quote" - "object with numbers is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 416 - ref.json: "refs with quote" - "object with strings is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "/foo\"bar", 360s # "keywordLocation": "/properties/foo\"bar/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "/foo\"bar", 360s # "keywordLocation": "/properties/foo\"bar/$ref/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 417 - ref.json: "Location-independent identifier" - "match" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 418 - ref.json: "Location-independent identifier" - "mismatch" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/A/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/A/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 419 - ref.json: "Location-independent identifier with base URI change in subschema" - "match" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 420 - ref.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s 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" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/enum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 422 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 423 - ref.json: "id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 424 - ref.json: "id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 425 - ref.json: "id with file URI still resolves pointers - *nix" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 426 - ref.json: "id with file URI still resolves pointers - *nix" - "non-number is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 427 - ref.json: "id with file URI still resolves pointers - windows" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 428 - ref.json: "id with file URI still resolves pointers - windows" - "non-number is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 429 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 430 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions//definitions//type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions//definitions//type", 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf/0/$ref/type" 360s # }, 360s # { 360s # "error": "subschema 0 is not valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/allOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 431 - refRemote.json: "remote ref" - "remote ref valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 432 - refRemote.json: "remote ref" - "remote ref invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 433 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 434 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 435 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 436 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/$ref/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/$ref/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 437 - refRemote.json: "base URI change" - "base URI change ref valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 438 - refRemote.json: "base URI change" - "base URI change ref invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/0/0", 360s # "keywordLocation": "/items/items/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/0/0", 360s # "keywordLocation": "/items/items/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/0", 360s # "keywordLocation": "/items/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/items" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 439 - refRemote.json: "base URI change - change folder" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 440 - refRemote.json: "base URI change - change folder" - "string is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/list/0", 360s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/list", 360s # "keywordLocation": "/properties/list/$ref/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/list/0", 360s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/list", 360s # "keywordLocation": "/properties/list/$ref/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 441 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 442 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/list/0", 360s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/list", 360s # "keywordLocation": "/properties/list/$ref/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "/list/0", 360s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 360s # "error": "subschema is not valid against all items", 360s # "instanceLocation": "/list", 360s # "keywordLocation": "/properties/list/$ref/items" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 443 - refRemote.json: "root ref in remote ref" - "string is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 444 - refRemote.json: "root ref in remote ref" - "null is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 445 - refRemote.json: "root ref in remote ref" - "object is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 360s # "error": "got object, not null", 360s # "instanceLocation": "/name", 360s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 360s # "error": "got object, not string", 360s # "instanceLocation": "/name", 360s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "/name", 360s # "keywordLocation": "/properties/name/$ref/anyOf" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 360s # "error": "got object, not null", 360s # "instanceLocation": "/name", 360s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 360s # "error": "got object, not string", 360s # "instanceLocation": "/name", 360s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "/name", 360s # "keywordLocation": "/properties/name/$ref/anyOf" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/properties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 446 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { # TODO Test marked TODO via "todo_tests" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true # 360s 1..1 360s } 360s ok 447 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierDraft4.json#/definitions/A/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/$ref/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierDraft4.json#/definitions/A/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/$ref/$ref/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 448 - required.json: "required validation" - "present required property is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 449 - required.json: "required validation" - "non-present required property is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing property: foo", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 450 - required.json: "required validation" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 451 - required.json: "required validation" - "ignores strings" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 452 - required.json: "required validation" - "ignores other non-objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 453 - required.json: "required default validation" - "not required by default" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 454 - required.json: "required with escaped characters" - "object with all properties present is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 455 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 456 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 457 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 458 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: __proto__, toString, constructor", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: __proto__, toString, constructor", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 459 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: toString, constructor", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: toString, constructor", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 460 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: __proto__, constructor", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: __proto__, constructor", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 461 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: __proto__, toString", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "object is missing properties: __proto__, toString", 360s # "instanceLocation": "", 360s # "keywordLocation": "/required" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 462 - required.json: "required properties whose names are Javascript object property names" - "all present" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 463 - type.json: "integer type matches integers" - "an integer is an integer" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 464 - type.json: "integer type matches integers" - "a float is not an integer" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 465 - type.json: "integer type matches integers" - "a string is not an integer" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 466 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got string, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 467 - type.json: "integer type matches integers" - "an object is not an integer" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got object, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got object, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 468 - type.json: "integer type matches integers" - "an array is not an integer" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got array, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got array, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 469 - type.json: "integer type matches integers" - "a boolean is not an integer" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got boolean, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got boolean, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 470 - type.json: "integer type matches integers" - "null is not an integer" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got null, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got null, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 471 - type.json: "number type matches numbers" - "an integer is a number" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 472 - type.json: "number type matches numbers" - "a float with zero fractional part is a number" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 473 - type.json: "number type matches numbers" - "a float is a number" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 474 - type.json: "number type matches numbers" - "a string is not a number" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 475 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 476 - type.json: "number type matches numbers" - "an object is not a number" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 477 - type.json: "number type matches numbers" - "an array is not a number" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 478 - type.json: "number type matches numbers" - "a boolean is not a number" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 479 - type.json: "number type matches numbers" - "null is not a number" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not number", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 480 - type.json: "string type matches strings" - "1 is not a string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got integer, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got integer, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 481 - type.json: "string type matches strings" - "a float is not a string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got number, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got number, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 482 - type.json: "string type matches strings" - "a string is a string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 483 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 484 - type.json: "string type matches strings" - "an empty string is still a string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 485 - type.json: "string type matches strings" - "an object is not a string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got object, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got object, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 486 - type.json: "string type matches strings" - "an array is not a string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got array, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got array, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 487 - type.json: "string type matches strings" - "a boolean is not a string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got boolean, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got boolean, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 488 - type.json: "string type matches strings" - "null is not a string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got null, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got null, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 489 - type.json: "object type matches objects" - "an integer is not an object" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 490 - type.json: "object type matches objects" - "a float is not an object" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 491 - type.json: "object type matches objects" - "a string is not an object" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 492 - type.json: "object type matches objects" - "an object is an object" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 493 - type.json: "object type matches objects" - "an array is not an object" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 494 - type.json: "object type matches objects" - "a boolean is not an object" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 495 - type.json: "object type matches objects" - "null is not an object" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 496 - type.json: "array type matches arrays" - "an integer is not an array" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 497 - type.json: "array type matches arrays" - "a float is not an array" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 498 - type.json: "array type matches arrays" - "a string is not an array" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 499 - type.json: "array type matches arrays" - "an object is not an array" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 500 - type.json: "array type matches arrays" - "an array is an array" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 501 - type.json: "array type matches arrays" - "a boolean is not an array" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 502 - type.json: "array type matches arrays" - "null is not an array" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not array", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 503 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 504 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 505 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 506 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 507 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 508 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 509 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 510 - type.json: "boolean type matches booleans" - "true is a boolean" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 511 - type.json: "boolean type matches booleans" - "false is a boolean" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 512 - type.json: "boolean type matches booleans" - "null is not a boolean" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not boolean", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 513 - type.json: "null type matches only the null object" - "an integer is not null" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 514 - type.json: "null type matches only the null object" - "a float is not null" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 515 - type.json: "null type matches only the null object" - "zero is not null" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 516 - type.json: "null type matches only the null object" - "a string is not null" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 517 - type.json: "null type matches only the null object" - "an empty string is not null" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 518 - type.json: "null type matches only the null object" - "an object is not null" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 519 - type.json: "null type matches only the null object" - "an array is not null" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 520 - type.json: "null type matches only the null object" - "true is not null" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 521 - type.json: "null type matches only the null object" - "false is not null" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 522 - type.json: "null type matches only the null object" - "null is null" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 523 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 524 - type.json: "multiple types can be specified in an array" - "a string is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 525 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got number, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 526 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got object, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 527 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got array, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 528 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got boolean, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 529 - type.json: "multiple types can be specified in an array" - "null is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not one of integer, string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 530 - type.json: "type as array with one item" - "string is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 531 - type.json: "type as array with one item" - "number is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not one of string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not one of string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 532 - type.json: "type: array or object" - "array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 533 - type.json: "type: array or object" - "object is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 534 - type.json: "type: array or object" - "number is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not one of array, object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not one of array, object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 535 - type.json: "type: array or object" - "string is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not one of array, object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not one of array, object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 536 - type.json: "type: array or object" - "null is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not one of array, object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got null, not one of array, object", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 537 - type.json: "type: array, object or null" - "array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 538 - type.json: "type: array, object or null" - "object is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 539 - type.json: "type: array, object or null" - "null is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 540 - type.json: "type: array, object or null" - "number is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not one of array, object, null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got integer, not one of array, object, null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 541 - type.json: "type: array, object or null" - "string is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not one of array, object, null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not one of array, object, null", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 542 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 543 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 544 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 2 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 2 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 545 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 546 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 547 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 548 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 549 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 2 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 2 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 550 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 551 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 552 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 553 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 554 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 555 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 556 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 557 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 2 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 2 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 558 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 559 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 560 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 561 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 562 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 563 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 564 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 565 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 4 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 4 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 566 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 567 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 568 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 569 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 570 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 571 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 572 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 573 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 574 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 575 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 576 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 2 and 3 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 2 and 3 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 577 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 2 and 3 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 2 and 3 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 578 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 579 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 580 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 581 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "items at indices 0 and 1 are not unique", 360s # "instanceLocation": "", 360s # "keywordLocation": "/uniqueItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 582 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional item not permitted", 360s # "instanceLocation": "/2", 360s # "keywordLocation": "/additionalItems" 360s # }, 360s # { 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional item not permitted", 360s # "instanceLocation": "/2", 360s # "keywordLocation": "/additionalItems" 360s # }, 360s # { 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 583 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 584 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 585 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 586 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 587 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 588 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 589 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 590 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 591 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 592 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 593 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 594 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 595 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 596 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 597 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 598 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 599 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 600 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 601 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 602 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 603 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 604 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 605 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 606 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 607 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 608 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 609 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 610 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional item not permitted", 360s # "instanceLocation": "/2", 360s # "keywordLocation": "/additionalItems" 360s # }, 360s # { 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional item not permitted", 360s # "instanceLocation": "/2", 360s # "keywordLocation": "/additionalItems" 360s # }, 360s # { 360s # "error": "subschema is not valid against all additional items", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalItems" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 611 - optional/bignum.json: "integer" - "a bignum is an integer" { # TODO Test marked TODO via "todo_tests" 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected true; got false 360s # data: "12345678910111213141516171819202122232425262728293031" 360s # schema: "{\"type\":\"integer\"}" 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s 1..1 360s } 360s ok 612 - optional/bignum.json: "integer" - "a negative bignum is an integer" { # TODO Test marked TODO via "todo_tests" 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected true; got false 360s # data: "-12345678910111213141516171819202122232425262728293031" 360s # schema: "{\"type\":\"integer\"}" 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s 1..1 360s } 360s ok 613 - optional/bignum.json: "number" - "a bignum is a number" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 614 - optional/bignum.json: "number" - "a negative bignum is a number" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 615 - optional/bignum.json: "string" - "a bignum is not a string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got number, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 360s # "error": "got number, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 616 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 617 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 360s # "instanceLocation": "", 360s # "keywordLocation": "/maximum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 618 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 619 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 360s # "instanceLocation": "", 360s # "keywordLocation": "/minimum" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 620 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 621 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 622 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 623 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 624 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 625 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 626 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 627 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 628 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true # 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # data: "\"߀\"" 360s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # data: "\"߀\"" 360s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s 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" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false # 360s 1..1 360s } 360s 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" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected true; got false 360s # data: "\"߀\"" 360s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s 1..1 360s } 360s 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" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected true; got false 360s # data: "\"߀\"" 360s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s 1..1 360s } 360s ok 634 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true # 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # data: "\"é\"" 360s # schema: "{\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s 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" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false # 360s 1..1 360s } 360s 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" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected true; got false 360s # data: "\"é\"" 360s # schema: "{\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s 1..1 360s } 360s ok 638 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 639 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 640 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 641 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 642 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 643 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected true; got false 360s # data: "\"\"" 360s # schema: "{\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s 1..1 360s } 360s ok 644 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 645 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 646 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 647 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 648 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 649 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 650 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 651 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 652 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 653 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # data: "\"\"" 360s # schema: "{\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s ok 655 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 656 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 657 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 658 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 659 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 660 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 661 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 662 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 663 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 664 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # 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.\"" 360s # schema: "{\"pattern\":\"\\\\wcole\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # 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.\"" 360s # schema: "{\"pattern\":\"\\\\wcole\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s ok 667 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 668 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 669 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 670 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 671 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 672 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # data: "\"৪২\"" 360s # schema: "{\"pattern\":\"^\\\\d+$\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s ok 674 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 675 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 676 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 677 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 678 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 679 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 680 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/L'ÉCOLE", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/L'ÉCOLE", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 681 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # data: "{\"l'école\":\"pas de vraie vie\"}" 360s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":{}},\"type\":\"object\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # data: "{\"l'école\":\"pas de vraie vie\"}" 360s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":{}},\"type\":\"object\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s ok 684 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/L'ÉCOLE", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/L'ÉCOLE", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 685 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/l'école", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/l'école", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 686 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/l'école", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/l'école", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 687 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 688 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 689 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/-%#", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/-%#", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s 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" 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s not ok 1 - evaluation result is incorrect # 360s # Failed test (with amnesty) 'evaluation result is incorrect' 360s # at t/zzz-acceptance-draft4.t line 49. 360s # expected false; got true 360s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 360s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":{}},\"type\":\"object\"}" 360s # result: { 360s # "valid": true 360s # } 360s 1..1 360s } 360s ok 691 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 692 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/-%#", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "additional property not permitted", 360s # "instanceLocation": "/-%#", 360s # "keywordLocation": "/additionalProperties" 360s # }, 360s # { 360s # "error": "not all additional properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/additionalProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 693 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 694 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s # 360s ok 695 - optional/id.json: "id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 696 - optional/id.json: "id inside an enum is not a real identifier" - "match $ref to id" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 697 - optional/id.json: "id inside an enum is not a real identifier" - "no match on enum or $ref to id" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/$ref/enum" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "https://localhost:1234/my_identifier.json#/type", 360s # "error": "got integer, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/1/$ref/type" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 360s # "error": "value does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/0/$ref/enum" 360s # }, 360s # { 360s # "absoluteKeywordLocation": "https://localhost:1234/my_identifier.json#/type", 360s # "error": "got integer, not string", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf/1/$ref/type" 360s # }, 360s # { 360s # "error": "no subschemas are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/anyOf" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s ok 698 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 699 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 700 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 701 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 702 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 703 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 704 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "pattern does not match", 360s # "instanceLocation": "", 360s # "keywordLocation": "/pattern" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 705 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 706 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 707 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 360s # result: { 360s # "valid": true 360s # } 360s # short-circuited result: { 360s # "valid": true 360s # } 360s ok 1 - test passes: data is valid: true 360s 1..1 360s } 360s ok 708 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/🐲", 360s # "keywordLocation": "/patternProperties/^🐲*$/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/🐲", 360s # "keywordLocation": "/patternProperties/^🐲*$/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s ok 709 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 360s # result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/🐲🐲", 360s # "keywordLocation": "/patternProperties/^🐲*$/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "error": "got string, not integer", 360s # "instanceLocation": "/🐲🐲", 360s # "keywordLocation": "/patternProperties/^🐲*$/type" 360s # }, 360s # { 360s # "error": "not all properties are valid", 360s # "instanceLocation": "", 360s # "keywordLocation": "/patternProperties" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s 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" { 360s # result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s # short-circuited result: { 360s # "errors": [ 360s # { 360s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 360s # "error": "got number, not integer", 360s # "instanceLocation": "", 360s # "keywordLocation": "/type" 360s # } 360s # ], 360s # "valid": false 360s # } 360s ok 1 - test passes: data is valid: false 360s 1..1 360s } 360s # 360s # 360s # generated with: Test::JSON::Schema::Acceptance 1.026 360s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 360s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 360s # specification version: draft4 360s # optional tests included: yes 360s # skipping directory: optional/format 360s # 360s # filename pass todo-fail fail 360s # --------------------------------------------------------------- 360s # additionalItems.json 18 0 0 360s # additionalProperties.json 16 0 0 360s # allOf.json 27 0 0 360s # anyOf.json 15 0 0 360s # default.json 7 0 0 360s # definitions.json 2 0 0 360s # dependencies.json 29 0 0 360s # enum.json 45 0 0 360s # format.json 36 0 0 360s # infinite-loop-detection.json 2 0 0 360s # items.json 21 0 0 360s # maxItems.json 4 0 0 360s # maxLength.json 5 0 0 360s # maxProperties.json 8 0 0 360s # maximum.json 14 0 0 360s # minItems.json 4 0 0 360s # minLength.json 5 0 0 360s # minProperties.json 6 0 0 360s # minimum.json 17 0 0 360s # multipleOf.json 10 0 0 360s # not.json 20 0 0 360s # oneOf.json 23 0 0 360s # pattern.json 9 0 0 360s # patternProperties.json 18 0 0 360s # properties.json 24 0 0 360s # ref.json 45 0 0 360s # refRemote.json 17 0 0 360s # required.json 15 0 0 360s # type.json 79 0 0 360s # uniqueItems.json 69 0 0 360s # optional/bignum.json 7 2 0 360s # optional/ecmascript-regex.json 60 14 0 360s # optional/float-overflow.json 1 0 0 360s # optional/id.json 3 0 0 360s # optional/non-bmp-regex.json 12 0 0 360s # optional/zeroTerminatedFloats.json 1 0 0 360s # --------------------------------------------------------------- 360s # TOTAL 694 16 0 360s # 360s # Congratulations, all non-optional tests are passing! 360s # 360s ok 711 - no leaks in the main evaluator object 360s ok 712 - no leaks in the short-circuiting evaluator object 360s 1..712 360s ok 363s t/zzz-acceptance-draft6-format.t ........ 363s # AUTHOR_TESTING: 363s # AUTOMATED_TESTING: 1 363s # EXTENDED_TESTING: 363s # NO_TODO: 363s # TEST_DIR: 363s # NO_SHORT_CIRCUIT: 363s # 363s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft6/optional/format against draft6... 363s # 363s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid date-time", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s # 363s ok 26 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 27 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 28 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 29 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 30 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 31 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 32 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 33 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid email", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid email", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 34 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 35 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 36 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 37 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid email", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid email", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 38 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid email", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid email", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 39 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 40 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid email", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid email", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s # 363s ok 41 - hostname.json: "validation of host names" - "all string formats ignore integers" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 42 - hostname.json: "validation of host names" - "all string formats ignore floats" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 43 - hostname.json: "validation of host names" - "all string formats ignore objects" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 44 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 45 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 46 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 47 - hostname.json: "validation of host names" - "a valid host name" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 48 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 49 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 50 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 51 - hostname.json: "validation of host names" - "a host name with a component too long" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 52 - hostname.json: "validation of host names" - "starts with hyphen" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 53 - hostname.json: "validation of host names" - "ends with hyphen" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 54 - hostname.json: "validation of host names" - "starts with underscore" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 55 - hostname.json: "validation of host names" - "ends with underscore" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 56 - hostname.json: "validation of host names" - "contains underscore" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 57 - hostname.json: "validation of host names" - "maximum label length" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 58 - hostname.json: "validation of host names" - "exceeds maximum label length" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 59 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s not ok 1 - evaluation result is incorrect # 363s # Failed test (with amnesty) 'evaluation result is incorrect' 363s # at t/zzz-acceptance-draft6-format.t line 66. 363s # expected true; got false 363s # data: "\"hostname\"" 363s # schema: "{\"format\":\"hostname\"}" 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s 1..1 363s } 363s ok 60 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s not ok 1 - evaluation result is incorrect # 363s # Failed test (with amnesty) 'evaluation result is incorrect' 363s # at t/zzz-acceptance-draft6-format.t line 66. 363s # expected true; got false 363s # data: "\"host-name\"" 363s # schema: "{\"format\":\"hostname\"}" 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s 1..1 363s } 363s ok 61 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s not ok 1 - evaluation result is incorrect # 363s # Failed test (with amnesty) 'evaluation result is incorrect' 363s # at t/zzz-acceptance-draft6-format.t line 66. 363s # expected true; got false 363s # data: "\"h0stn4me\"" 363s # schema: "{\"format\":\"hostname\"}" 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s 1..1 363s } 363s ok 62 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s not ok 1 - evaluation result is incorrect # 363s # Failed test (with amnesty) 'evaluation result is incorrect' 363s # at t/zzz-acceptance-draft6-format.t line 66. 363s # expected true; got false 363s # data: "\"hostnam3\"" 363s # schema: "{\"format\":\"hostname\"}" 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid hostname", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s 1..1 363s } 363s # 363s ok 63 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 64 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 65 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 66 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 67 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 68 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 69 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 70 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 71 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 72 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 73 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 74 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 75 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 76 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 77 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 78 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv4", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s # 363s ok 79 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 80 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 81 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 82 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 83 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 84 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 85 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 86 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 87 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 88 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 89 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 90 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 91 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 92 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 93 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 94 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 95 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 96 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 97 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 98 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 99 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 100 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 101 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 102 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 103 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 104 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 105 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 106 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 107 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 108 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 109 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 110 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 111 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 112 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 113 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 114 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 115 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 116 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 117 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 118 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid ipv6", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s # 363s ok 119 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 120 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 121 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 122 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 123 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 124 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 125 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 126 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 127 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 128 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 129 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 130 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 131 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 132 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 133 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 134 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 135 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 136 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 137 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 138 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 139 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 140 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 141 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 142 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 143 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 144 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 145 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 146 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 147 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 148 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 149 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 150 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 151 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 152 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 153 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 154 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 155 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 156 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid json-pointer", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s # 363s ok 157 - unknown.json: "unknown format" - "unknown formats ignore integers" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 158 - unknown.json: "unknown format" - "unknown formats ignore floats" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 159 - unknown.json: "unknown format" - "unknown formats ignore objects" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 160 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 161 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 162 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 163 - unknown.json: "unknown format" - "unknown formats ignore strings" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s # 363s ok 164 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 165 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 166 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 167 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 168 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 169 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 170 - uri-reference.json: "validation of URI References" - "a valid URI" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 171 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 172 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 173 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri-reference", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri-reference", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 174 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 175 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 176 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri-reference", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri-reference", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s # 363s ok 177 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true # 363s 1..1 363s } 363s ok 178 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true # 363s 1..1 363s } 363s ok 179 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true # 363s 1..1 363s } 363s ok 180 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true # 363s 1..1 363s } 363s ok 181 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true # 363s 1..1 363s } 363s ok 182 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true # 363s 1..1 363s } 363s ok 183 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true # 363s 1..1 363s } 363s ok 184 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s not ok 1 - evaluation result is incorrect # 363s # Failed test (with amnesty) 'evaluation result is incorrect' 363s # at t/zzz-acceptance-draft6-format.t line 66. 363s # expected false; got true 363s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 363s # schema: "{\"format\":\"uri-template\"}" 363s # result: { 363s # "valid": true 363s # } 363s 1..1 363s } 363s ok 185 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true # 363s 1..1 363s } 363s ok 186 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true # 363s 1..1 363s } 363s # 363s ok 187 - uri.json: "validation of URIs" - "all string formats ignore integers" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 188 - uri.json: "validation of URIs" - "all string formats ignore floats" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 189 - uri.json: "validation of URIs" - "all string formats ignore objects" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 190 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 191 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 192 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 193 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 194 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 195 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 196 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 197 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 198 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 199 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 200 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 201 - uri.json: "validation of URIs" - "a valid URL " { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 202 - uri.json: "validation of URIs" - "a valid mailto URI" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 203 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 204 - uri.json: "validation of URIs" - "a valid tel URI" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 205 - uri.json: "validation of URIs" - "a valid URN" { 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s ok 1 - test passes: data is valid: true 363s 1..1 363s } 363s ok 206 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 207 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 208 - uri.json: "validation of URIs" - "an invalid URI" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 209 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 210 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 211 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 363s # result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s # short-circuited result: { 363s # "errors": [ 363s # { 363s # "error": "not a valid uri", 363s # "instanceLocation": "", 363s # "keywordLocation": "/format" 363s # } 363s # ], 363s # "valid": false 363s # } 363s ok 1 - test passes: data is valid: false 363s 1..1 363s } 363s ok 212 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 363s # result: { 363s # "valid": true 363s # } 363s # short-circuited result: { 363s # "valid": true 363s # } 363s not ok 1 - evaluation result is incorrect # 363s # Failed test (with amnesty) 'evaluation result is incorrect' 363s # at t/zzz-acceptance-draft6-format.t line 66. 363s # expected false; got true 363s # data: "\"bar,baz:foo\"" 363s # schema: "{\"format\":\"uri\"}" 363s # result: { 363s # "valid": true 363s # } 363s 1..1 363s } 363s # 363s # 363s # generated with: Test::JSON::Schema::Acceptance 1.026 363s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 363s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 363s # specification version: draft6 363s # using custom test directory: /optional/format 363s # optional tests included: yes 363s # 363s # filename pass todo-fail fail 363s # --------------------------------------------------------------- 363s # date-time.json 25 0 0 363s # email.json 15 0 0 363s # hostname.json 18 4 0 363s # ipv4.json 16 0 0 363s # ipv6.json 40 0 0 363s # json-pointer.json 38 0 0 363s # unknown.json 7 0 0 363s # uri-reference.json 13 0 0 363s # uri-template.json 9 1 0 363s # uri.json 25 1 0 363s # --------------------------------------------------------------- 363s # TOTAL 206 6 0 363s # 363s # Congratulations, all non-optional tests are passing! 363s # 363s ok 213 - no leaks in the main evaluator object 363s ok 214 - no leaks in the short-circuiting evaluator object 363s 1..214 363s ok 371s t/zzz-acceptance-draft6.t ............... 371s # AUTHOR_TESTING: 371s # AUTOMATED_TESTING: 1 371s # EXTENDED_TESTING: 371s # NO_TODO: 371s # TEST_DIR: 371s # NO_SHORT_CIRCUIT: 371s # 371s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 371s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft6 against draft6... 371s # 371s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/3", 371s # "keywordLocation": "/additionalItems/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/3", 371s # "keywordLocation": "/additionalItems/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "valid with a array of type integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 4 - additionalItems.json: "when items is schema, additionalItems does nothing" - "invalid with a array of mixed types" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/type" 371s # }, 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 5 - additionalItems.json: "when items is schema, boolean additionalItems does nothing" - "all items match schema" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 9 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 10 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/3", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/3", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 11 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 12 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 13 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 14 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 15 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not boolean", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/additionalItems/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not boolean", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/additionalItems/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 16 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 17 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/additionalItems/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/additionalItems/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 18 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 19 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 20 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/quux", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/quux", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 25 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 26 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 27 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 28 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/élmény", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/élmény", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 29 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 30 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 31 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "/quux", 371s # "keywordLocation": "/additionalProperties/type" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "/quux", 371s # "keywordLocation": "/additionalProperties/type" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 32 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 33 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/additionalProperties/type" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/additionalProperties/type" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 34 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 35 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/additionalProperties/type" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/additionalProperties/type" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 36 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 37 - allOf.json: "allOf" - "allOf" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 38 - allOf.json: "allOf" - "mismatch second" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/required" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/required" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 39 - allOf.json: "allOf" - "mismatch first" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1/required" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1/required" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 40 - allOf.json: "allOf" - "wrong type" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/allOf/0/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/properties" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/allOf/0/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/properties" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 41 - allOf.json: "allOf with base schema" - "valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 42 - allOf.json: "allOf with base schema" - "mismatch base schema" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 43 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/required" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/required" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 44 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: baz", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1/required" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: baz", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1/required" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 45 - allOf.json: "allOf with base schema" - "mismatch both" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/required" 371s # }, 371s # { 371s # "error": "object is missing property: baz", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1/required" 371s # }, 371s # { 371s # "error": "subschemas 0, 1 are not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/required" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 46 - allOf.json: "allOf simple types" - "valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 47 - allOf.json: "allOf simple types" - "mismatch one" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 30", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/maximum" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 30", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/maximum" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 48 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 49 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 50 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0" 371s # }, 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1" 371s # }, 371s # { 371s # "error": "subschemas 0, 1 are not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 51 - allOf.json: "allOf with one empty schema" - "any data is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 52 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 53 - allOf.json: "allOf with the first empty schema" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 54 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1/type" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1/type" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 55 - allOf.json: "allOf with the last empty schema" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 56 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 57 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 58 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/allOf/0/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/allOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/allOf/0/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/allOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 59 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 5", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 60 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 61 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 5", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 62 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 63 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 5", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 64 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 65 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 5", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 5", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/multipleOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 66 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 67 - anyOf.json: "anyOf" - "first anyOf valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 68 - anyOf.json: "anyOf" - "second anyOf valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 69 - anyOf.json: "anyOf" - "both anyOf valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 70 - anyOf.json: "anyOf" - "neither anyOf valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/type" 371s # }, 371s # { 371s # "error": "value is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/minimum" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/type" 371s # }, 371s # { 371s # "error": "value is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/minimum" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 71 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 72 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 73 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "length is greater than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/maxLength" 371s # }, 371s # { 371s # "error": "length is less than 4", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/minLength" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "length is greater than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/maxLength" 371s # }, 371s # { 371s # "error": "length is less than 4", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/minLength" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 74 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 75 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 76 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0" 371s # }, 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0" 371s # }, 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 77 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 78 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 79 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 80 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/anyOf/0/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/properties" 371s # }, 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/anyOf/1/properties/foo/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/properties" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/anyOf/0/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/properties" 371s # }, 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/anyOf/1/properties/foo/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/properties" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 81 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 82 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 83 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 84 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/anyOf/0/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/anyOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/anyOf/0/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/anyOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 85 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 86 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 87 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 88 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 89 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 90 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 91 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 92 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 93 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 94 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 95 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 96 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 97 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 98 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 99 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 100 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 101 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 102 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 103 - const.json: "const validation" - "same value is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 104 - const.json: "const validation" - "another value is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 105 - const.json: "const validation" - "another type is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 106 - const.json: "const with object" - "same object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 107 - const.json: "const with object" - "same object with different property order is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 108 - const.json: "const with object" - "another object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 109 - const.json: "const with object" - "another type is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 110 - const.json: "const with array" - "same array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 111 - const.json: "const with array" - "another array item is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs object)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs object)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 112 - const.json: "const with array" - "array with additional items is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 113 - const.json: "const with null" - "null is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 114 - const.json: "const with null" - "not null is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 115 - const.json: "const with false does not match 0" - "false is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 116 - const.json: "const with false does not match 0" - "integer zero is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 117 - const.json: "const with false does not match 0" - "float zero is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 118 - const.json: "const with true does not match 1" - "true is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 119 - const.json: "const with true does not match 1" - "integer one is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 120 - const.json: "const with true does not match 1" - "float one is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 121 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 122 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 123 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 124 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 125 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 126 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 127 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 128 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 129 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 130 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 131 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 132 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 133 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 134 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 135 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 136 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 137 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 138 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 139 - const.json: "const with 1 does not match true" - "true is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 140 - const.json: "const with 1 does not match true" - "integer one is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 141 - const.json: "const with 1 does not match true" - "float one is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 142 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 143 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 144 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 145 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 146 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 147 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 148 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 149 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 150 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 151 - const.json: "nul characters in strings" - "match string with nul" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 152 - const.json: "nul characters in strings" - "do not match string lacking nul" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/const" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 153 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 154 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 155 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 156 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than 5", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/contains/minimum" 371s # }, 371s # { 371s # "error": "value is less than 5", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/contains/minimum" 371s # }, 371s # { 371s # "error": "value is less than 5", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/contains/minimum" 371s # }, 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than 5", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/contains/minimum" 371s # }, 371s # { 371s # "error": "value is less than 5", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/contains/minimum" 371s # }, 371s # { 371s # "error": "value is less than 5", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/contains/minimum" 371s # }, 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 157 - contains.json: "contains keyword validation" - "empty array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 158 - contains.json: "contains keyword validation" - "not array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 159 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 160 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 161 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/contains/const" 371s # }, 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/contains/const" 371s # }, 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/contains/const" 371s # }, 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/3", 371s # "keywordLocation": "/contains/const" 371s # }, 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/contains/const" 371s # }, 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/contains/const" 371s # }, 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/contains/const" 371s # }, 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/3", 371s # "keywordLocation": "/contains/const" 371s # }, 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 162 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 163 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 164 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/contains" 371s # }, 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/contains" 371s # }, 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 165 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 166 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 167 - contains.json: "items + contains" - "matches items, does not match contains" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/contains/multipleOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/contains/multipleOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/contains/multipleOf" 371s # }, 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/contains/multipleOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/contains/multipleOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/contains/multipleOf" 371s # }, 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 168 - contains.json: "items + contains" - "does not match items, matches contains" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/multipleOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/items/multipleOf" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/multipleOf" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 169 - contains.json: "items + contains" - "matches both items and contains" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 170 - contains.json: "items + contains" - "matches neither items nor contains" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/multipleOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/multipleOf" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # }, 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/contains/multipleOf" 371s # }, 371s # { 371s # "error": "value is not a multiple of 3", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/contains/multipleOf" 371s # }, 371s # { 371s # "error": "subschema is not valid against any item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/contains" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/multipleOf" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 171 - contains.json: "contains with null instance elements" - "allows null items" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 172 - default.json: "invalid type for default" - "valid when property is specified" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 173 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 174 - default.json: "invalid string value for default" - "valid when property is specified" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 175 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s 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)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s 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)" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 3", 371s # "instanceLocation": "/alpha", 371s # "keywordLocation": "/properties/alpha/maximum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 3", 371s # "instanceLocation": "/alpha", 371s # "keywordLocation": "/properties/alpha/maximum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s 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" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 179 - definitions.json: "validate definition against metaschema" - "valid definition schema" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 180 - definitions.json: "validate definition against metaschema" - "invalid definition schema" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/simpleTypes/enum", 371s # "error": "value does not match", 371s # "instanceLocation": "/definitions/foo/type", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf/1/type", 371s # "error": "got integer, not array", 371s # "instanceLocation": "/definitions/foo/type", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf", 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "/definitions/foo/type", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/definitions/foo", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/definitions/additionalProperties", 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "/definitions", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/simpleTypes/enum", 371s # "error": "value does not match", 371s # "instanceLocation": "/definitions/foo/type", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf/1/type", 371s # "error": "got integer, not array", 371s # "instanceLocation": "/definitions/foo/type", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf", 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "/definitions/foo/type", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/definitions/foo", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/definitions/additionalProperties", 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "/definitions", 371s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 181 - dependencies.json: "dependencies" - "neither" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 182 - dependencies.json: "dependencies" - "nondependant" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 183 - dependencies.json: "dependencies" - "with dependency" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 184 - dependencies.json: "dependencies" - "missing dependency" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 185 - dependencies.json: "dependencies" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 186 - dependencies.json: "dependencies" - "ignores strings" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 187 - dependencies.json: "dependencies" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 188 - dependencies.json: "dependencies with empty array" - "empty object" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 189 - dependencies.json: "dependencies with empty array" - "object with one property" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 190 - dependencies.json: "dependencies with empty array" - "non-object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 191 - dependencies.json: "multiple dependencies" - "neither" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 192 - dependencies.json: "multiple dependencies" - "nondependants" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 193 - dependencies.json: "multiple dependencies" - "with dependencies" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 194 - dependencies.json: "multiple dependencies" - "missing dependency" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/quux" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/quux" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 195 - dependencies.json: "multiple dependencies" - "missing other dependency" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/quux" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/quux" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 196 - dependencies.json: "multiple dependencies" - "missing both dependencies" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: foo, bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/quux" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: foo, bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/quux" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 197 - dependencies.json: "multiple dependencies subschema" - "valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 198 - dependencies.json: "multiple dependencies subschema" - "no dependency" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 199 - dependencies.json: "multiple dependencies subschema" - "wrong type" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/dependencies/bar/properties/foo/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar/properties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/dependencies/bar/properties/foo/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar/properties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 200 - dependencies.json: "multiple dependencies subschema" - "wrong type other" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/dependencies/bar/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar/properties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/dependencies/bar/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar/properties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 201 - dependencies.json: "multiple dependencies subschema" - "wrong type both" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/dependencies/bar/properties/bar/type" 371s # }, 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/dependencies/bar/properties/foo/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar/properties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/dependencies/bar/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar/properties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 202 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema true is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 203 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema false is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 204 - dependencies.json: "dependencies with boolean subschemas" - "object with both properties is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/bar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 205 - dependencies.json: "dependencies with boolean subschemas" - "empty object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 206 - dependencies.json: "dependencies with escaped characters" - "valid object 1" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 207 - dependencies.json: "dependencies with escaped characters" - "valid object 2" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 208 - dependencies.json: "dependencies with escaped characters" - "valid object 3" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 209 - dependencies.json: "dependencies with escaped characters" - "invalid object 1" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo\rbar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo\nbar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo\rbar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo\nbar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 210 - dependencies.json: "dependencies with escaped characters" - "invalid object 2" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object has fewer than 4 properties", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object has fewer than 4 properties", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 211 - dependencies.json: "dependencies with escaped characters" - "invalid object 3" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo\"bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo'bar/required" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo\"bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo'bar/required" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 212 - dependencies.json: "dependencies with escaped characters" - "invalid object 4" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo'bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo\"bar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo'bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo\"bar" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 213 - dependencies.json: "dependent subschema incompatible with root" - "matches root" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/dependencies/foo/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo/additionalProperties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/dependencies/foo/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo/additionalProperties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 214 - dependencies.json: "dependent subschema incompatible with root" - "matches dependency" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 215 - dependencies.json: "dependent subschema incompatible with root" - "matches both" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/dependencies/foo/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo/additionalProperties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/dependencies/foo/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies/foo/additionalProperties" 371s # }, 371s # { 371s # "error": "not all dependencies are satisfied", 371s # "instanceLocation": "", 371s # "keywordLocation": "/dependencies" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 216 - dependencies.json: "dependent subschema incompatible with root" - "no dependency" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 217 - enum.json: "simple enum validation" - "one of the enum is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 218 - enum.json: "simple enum validation" - "something else is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 219 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 220 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 221 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 371s # result: { 371s # "errors": [ 371s # { 371s # "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)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "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)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 222 - enum.json: "heterogeneous enum validation" - "valid object matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 223 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 224 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 225 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 226 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 227 - enum.json: "enums in properties" - "both properties are valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 228 - enum.json: "enums in properties" - "wrong foo value" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/enum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/enum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 229 - enum.json: "enums in properties" - "wrong bar value" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar/enum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar/enum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 230 - enum.json: "enums in properties" - "missing optional property is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 231 - enum.json: "enums in properties" - "missing required property is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 232 - enum.json: "enums in properties" - "missing all properties is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 233 - enum.json: "enum with escaped characters" - "member 1 is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 234 - enum.json: "enum with escaped characters" - "member 2 is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 235 - enum.json: "enum with escaped characters" - "another string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 236 - enum.json: "enum with false does not match 0" - "false is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 237 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 238 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 239 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 240 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 241 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 242 - enum.json: "enum with true does not match 1" - "true is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 243 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 244 - enum.json: "enum with true does not match 1" - "float one is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 245 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 246 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 247 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 248 - enum.json: "enum with 0 does not match false" - "false is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 249 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 250 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 251 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 252 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 253 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 254 - enum.json: "enum with 1 does not match true" - "true is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 255 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 256 - enum.json: "enum with 1 does not match true" - "float one is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 257 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 258 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 259 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 260 - enum.json: "nul characters in strings" - "match string with nul" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 261 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 262 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 263 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than or equal to 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMaximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than or equal to 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMaximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 264 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than or equal to 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMaximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than or equal to 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMaximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 265 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 266 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 267 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than or equal to 1.1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMinimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than or equal to 1.1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMinimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 268 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than or equal to 1.1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMinimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than or equal to 1.1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMinimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 269 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 270 - format.json: "email format" - "all string formats ignore integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 271 - format.json: "email format" - "all string formats ignore floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 272 - format.json: "email format" - "all string formats ignore objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 273 - format.json: "email format" - "all string formats ignore arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 274 - format.json: "email format" - "all string formats ignore booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 275 - format.json: "email format" - "all string formats ignore nulls" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 276 - format.json: "ipv4 format" - "all string formats ignore integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 277 - format.json: "ipv4 format" - "all string formats ignore floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 278 - format.json: "ipv4 format" - "all string formats ignore objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 279 - format.json: "ipv4 format" - "all string formats ignore arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 280 - format.json: "ipv4 format" - "all string formats ignore booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 281 - format.json: "ipv4 format" - "all string formats ignore nulls" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 282 - format.json: "ipv6 format" - "all string formats ignore integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 283 - format.json: "ipv6 format" - "all string formats ignore floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 284 - format.json: "ipv6 format" - "all string formats ignore objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 285 - format.json: "ipv6 format" - "all string formats ignore arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 286 - format.json: "ipv6 format" - "all string formats ignore booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 287 - format.json: "ipv6 format" - "all string formats ignore nulls" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 288 - format.json: "hostname format" - "all string formats ignore integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 289 - format.json: "hostname format" - "all string formats ignore floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 290 - format.json: "hostname format" - "all string formats ignore objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 291 - format.json: "hostname format" - "all string formats ignore arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 292 - format.json: "hostname format" - "all string formats ignore booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 293 - format.json: "hostname format" - "all string formats ignore nulls" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 294 - format.json: "date-time format" - "all string formats ignore integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 295 - format.json: "date-time format" - "all string formats ignore floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 296 - format.json: "date-time format" - "all string formats ignore objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 297 - format.json: "date-time format" - "all string formats ignore arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 298 - format.json: "date-time format" - "all string formats ignore booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 299 - format.json: "date-time format" - "all string formats ignore nulls" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 300 - format.json: "json-pointer format" - "all string formats ignore integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 301 - format.json: "json-pointer format" - "all string formats ignore floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 302 - format.json: "json-pointer format" - "all string formats ignore objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 303 - format.json: "json-pointer format" - "all string formats ignore arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 304 - format.json: "json-pointer format" - "all string formats ignore booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 305 - format.json: "json-pointer format" - "all string formats ignore nulls" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 306 - format.json: "uri format" - "all string formats ignore integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 307 - format.json: "uri format" - "all string formats ignore floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 308 - format.json: "uri format" - "all string formats ignore objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 309 - format.json: "uri format" - "all string formats ignore arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 310 - format.json: "uri format" - "all string formats ignore booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 311 - format.json: "uri format" - "all string formats ignore nulls" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 312 - format.json: "uri-reference format" - "all string formats ignore integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 313 - format.json: "uri-reference format" - "all string formats ignore floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 314 - format.json: "uri-reference format" - "all string formats ignore objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 315 - format.json: "uri-reference format" - "all string formats ignore arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 316 - format.json: "uri-reference format" - "all string formats ignore booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 317 - format.json: "uri-reference format" - "all string formats ignore nulls" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 318 - format.json: "uri-template format" - "all string formats ignore integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 319 - format.json: "uri-template format" - "all string formats ignore floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 320 - format.json: "uri-template format" - "all string formats ignore objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 321 - format.json: "uri-template format" - "all string formats ignore arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 322 - format.json: "uri-template format" - "all string formats ignore booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 323 - format.json: "uri-template format" - "all string formats ignore nulls" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s 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" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s 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" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/int/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/int/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/1/additionalProperties" 371s # }, 371s # { 371s # "error": "subschemas 0, 1 are not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/int/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/properties" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 326 - items.json: "a schema given for items" - "valid items" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 327 - items.json: "a schema given for items" - "wrong type of items" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 328 - items.json: "a schema given for items" - "ignores non-arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 329 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 330 - items.json: "an array of schemas for items" - "correct types" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 331 - items.json: "an array of schemas for items" - "wrong types" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/0/type" 371s # }, 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/1/type" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/0/type" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 332 - items.json: "an array of schemas for items" - "incomplete array of items" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 333 - items.json: "an array of schemas for items" - "array with additional items" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 334 - items.json: "an array of schemas for items" - "empty array" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 335 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 336 - items.json: "items with boolean schema (true)" - "any array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 337 - items.json: "items with boolean schema (true)" - "empty array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 338 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "item not permitted", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items" 371s # }, 371s # { 371s # "error": "item not permitted", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items" 371s # }, 371s # { 371s # "error": "item not permitted", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "item not permitted", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 339 - items.json: "items with boolean schema (false)" - "empty array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 340 - items.json: "items with boolean schemas" - "array with one item is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 341 - items.json: "items with boolean schemas" - "array with two items is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "item not permitted", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/1" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "item not permitted", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/1" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 342 - items.json: "items with boolean schemas" - "empty array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 343 - items.json: "items and subitems" - "valid items" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 344 - items.json: "items and subitems" - "too many items" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/3", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/3", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 345 - items.json: "items and subitems" - "too many sub-items" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/0/2", 371s # "keywordLocation": "/items/0/$ref/additionalItems" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/0/$ref/additionalItems" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/0/2", 371s # "keywordLocation": "/items/0/$ref/additionalItems" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/0/$ref/additionalItems" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 346 - items.json: "items and subitems" - "wrong item" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/item/type", 371s # "error": "got object, not array", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/0/$ref/type" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/item/type", 371s # "error": "got object, not array", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/0/$ref/type" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 347 - items.json: "items and subitems" - "wrong sub-item" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "/0/0", 371s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/item/items", 371s # "error": "not all items are valid", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/0/$ref/items" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "/0/0", 371s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/item/items", 371s # "error": "not all items are valid", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/0/$ref/items" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 348 - items.json: "items and subitems" - "fewer items is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 349 - items.json: "nested items" - "valid nested array" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 350 - items.json: "nested items" - "nested array with invalid type" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/0/0/0/0", 371s # "keywordLocation": "/items/items/items/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0/0/0", 371s # "keywordLocation": "/items/items/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0/0", 371s # "keywordLocation": "/items/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/0/0/0/0", 371s # "keywordLocation": "/items/items/items/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0/0/0", 371s # "keywordLocation": "/items/items/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0/0", 371s # "keywordLocation": "/items/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 351 - items.json: "nested items" - "not deep enough" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not array", 371s # "instanceLocation": "/0/0/0", 371s # "keywordLocation": "/items/items/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0/0", 371s # "keywordLocation": "/items/items/items" 371s # }, 371s # { 371s # "error": "got integer, not array", 371s # "instanceLocation": "/0/1/0", 371s # "keywordLocation": "/items/items/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0/1", 371s # "keywordLocation": "/items/items/items" 371s # }, 371s # { 371s # "error": "got integer, not array", 371s # "instanceLocation": "/0/2/0", 371s # "keywordLocation": "/items/items/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0/2", 371s # "keywordLocation": "/items/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/items" 371s # }, 371s # { 371s # "error": "got integer, not array", 371s # "instanceLocation": "/1/0/0", 371s # "keywordLocation": "/items/items/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/1/0", 371s # "keywordLocation": "/items/items/items" 371s # }, 371s # { 371s # "error": "got integer, not array", 371s # "instanceLocation": "/1/1/0", 371s # "keywordLocation": "/items/items/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/1/1", 371s # "keywordLocation": "/items/items/items" 371s # }, 371s # { 371s # "error": "got integer, not array", 371s # "instanceLocation": "/1/2/0", 371s # "keywordLocation": "/items/items/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/1/2", 371s # "keywordLocation": "/items/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not array", 371s # "instanceLocation": "/0/0/0", 371s # "keywordLocation": "/items/items/items/type" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0/0", 371s # "keywordLocation": "/items/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/items" 371s # }, 371s # { 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 352 - items.json: "single-form items with null instance elements" - "allows null elements" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 353 - items.json: "array-form items with null instance elements" - "allows null elements" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 354 - maxItems.json: "maxItems validation" - "shorter is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 355 - maxItems.json: "maxItems validation" - "exact length is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 356 - maxItems.json: "maxItems validation" - "too long is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "array has more than 2 items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "array has more than 2 items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 357 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 358 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 359 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "array has more than 2 items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "array has more than 2 items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 360 - maxLength.json: "maxLength validation" - "shorter is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 361 - maxLength.json: "maxLength validation" - "exact length is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 362 - maxLength.json: "maxLength validation" - "too long is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "length is greater than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "length is greater than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 363 - maxLength.json: "maxLength validation" - "ignores non-strings" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 364 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 365 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 366 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "length is greater than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "length is greater than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 367 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 368 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 369 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object has more than 2 properties", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object has more than 2 properties", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 370 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 371 - maxProperties.json: "maxProperties validation" - "ignores strings" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 372 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 373 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 374 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object has more than 2 properties", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object has more than 2 properties", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 375 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 376 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object has more than 0 property", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object has more than 0 property", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maxProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 377 - maximum.json: "maximum validation" - "below the maximum is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 378 - maximum.json: "maximum validation" - "boundary point is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 379 - maximum.json: "maximum validation" - "above the maximum is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 3", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 380 - maximum.json: "maximum validation" - "ignores non-numbers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 381 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 382 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 383 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 384 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 300", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 300", 371s # "instanceLocation": "", 371s # "keywordLocation": "/maximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 385 - minItems.json: "minItems validation" - "longer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 386 - minItems.json: "minItems validation" - "exact length is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 387 - minItems.json: "minItems validation" - "too short is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "array has fewer than 1 item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "array has fewer than 1 item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 388 - minItems.json: "minItems validation" - "ignores non-arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 389 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 390 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "array has fewer than 1 item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "array has fewer than 1 item", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 391 - minLength.json: "minLength validation" - "longer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 392 - minLength.json: "minLength validation" - "exact length is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 393 - minLength.json: "minLength validation" - "too short is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "length is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "length is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 394 - minLength.json: "minLength validation" - "ignores non-strings" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 395 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "length is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "length is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 396 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 397 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "length is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "length is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minLength" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 398 - minProperties.json: "minProperties validation" - "longer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 399 - minProperties.json: "minProperties validation" - "exact length is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 400 - minProperties.json: "minProperties validation" - "too short is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object has fewer than 1 property", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object has fewer than 1 property", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 401 - minProperties.json: "minProperties validation" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 402 - minProperties.json: "minProperties validation" - "ignores strings" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 403 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 404 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 405 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object has fewer than 1 property", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object has fewer than 1 property", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 406 - minimum.json: "minimum validation" - "above the minimum is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 407 - minimum.json: "minimum validation" - "boundary point is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 408 - minimum.json: "minimum validation" - "below the minimum is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than 1.1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than 1.1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 409 - minimum.json: "minimum validation" - "ignores non-numbers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 410 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 411 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 412 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 413 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 414 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than -2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than -2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 415 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than -2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than -2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/minimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 416 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 417 - multipleOf.json: "by int" - "int by int" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 418 - multipleOf.json: "by int" - "int by int fail" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/multipleOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/multipleOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 419 - multipleOf.json: "by int" - "ignores non-numbers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 420 - multipleOf.json: "by number" - "zero is multiple of anything" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 421 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 422 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 1.5", 371s # "instanceLocation": "", 371s # "keywordLocation": "/multipleOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 1.5", 371s # "instanceLocation": "", 371s # "keywordLocation": "/multipleOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 423 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 424 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 0.0001", 371s # "instanceLocation": "", 371s # "keywordLocation": "/multipleOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 0.0001", 371s # "instanceLocation": "", 371s # "keywordLocation": "/multipleOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 425 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 0.123456789", 371s # "instanceLocation": "", 371s # "keywordLocation": "/multipleOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is not a multiple of 0.123456789", 371s # "instanceLocation": "", 371s # "keywordLocation": "/multipleOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 426 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 427 - not.json: "not" - "allowed" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 428 - not.json: "not" - "disallowed" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 429 - not.json: "not multiple types" - "valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 430 - not.json: "not multiple types" - "mismatch" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 431 - not.json: "not multiple types" - "other mismatch" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 432 - not.json: "not more complex schema" - "match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 433 - not.json: "not more complex schema" - "other match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 434 - not.json: "not more complex schema" - "mismatch" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 435 - not.json: "forbidden property" - "property present" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/not" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/not" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 436 - not.json: "forbidden property" - "property absent" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 437 - not.json: "forbid everything with empty schema" - "number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 438 - not.json: "forbid everything with empty schema" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 439 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 440 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 441 - not.json: "forbid everything with empty schema" - "null is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 442 - not.json: "forbid everything with empty schema" - "object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 443 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 444 - not.json: "forbid everything with empty schema" - "array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 445 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 446 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 447 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 448 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 449 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 450 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 451 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 452 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 453 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 454 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/not" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 455 - not.json: "allow everything with boolean schema false" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 456 - not.json: "allow everything with boolean schema false" - "string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 457 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 458 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 459 - not.json: "allow everything with boolean schema false" - "null is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 460 - not.json: "allow everything with boolean schema false" - "object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 461 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 462 - not.json: "allow everything with boolean schema false" - "array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 463 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 464 - not.json: "double negation" - "any value is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 465 - oneOf.json: "oneOf" - "first oneOf valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 466 - oneOf.json: "oneOf" - "second oneOf valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 467 - oneOf.json: "oneOf" - "both oneOf valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 468 - oneOf.json: "oneOf" - "neither oneOf valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/type" 371s # }, 371s # { 371s # "error": "value is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/minimum" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/type" 371s # }, 371s # { 371s # "error": "value is less than 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/minimum" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 469 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # }, 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 470 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 471 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 472 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1, 2", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 473 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 474 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 475 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0" 371s # }, 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1" 371s # }, 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/2" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0" 371s # }, 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1" 371s # }, 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/2" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 476 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 477 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 478 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 479 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/oneOf/0/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/properties" 371s # }, 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/oneOf/1/properties/foo/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/properties" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/oneOf/0/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/properties" 371s # }, 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/oneOf/1/properties/foo/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/properties" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 480 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 481 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 482 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/required" 371s # }, 371s # { 371s # "error": "object is missing properties: foo, baz", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/required" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/required" 371s # }, 371s # { 371s # "error": "object is missing properties: foo, baz", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/required" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 483 - oneOf.json: "oneOf with required" - "first valid - valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 484 - oneOf.json: "oneOf with required" - "second valid - valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 485 - oneOf.json: "oneOf with required" - "both valid - invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 486 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 487 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 488 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "multiple subschemas are valid: 0, 1", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 489 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/required" 371s # }, 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/required" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: bar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/required" 371s # }, 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/required" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 490 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 491 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/oneOf/0/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/oneOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/oneOf/0/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/oneOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 492 - pattern.json: "pattern validation" - "a matching pattern is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 493 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 494 - pattern.json: "pattern validation" - "ignores booleans" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 495 - pattern.json: "pattern validation" - "ignores integers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 496 - pattern.json: "pattern validation" - "ignores floats" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 497 - pattern.json: "pattern validation" - "ignores objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 498 - pattern.json: "pattern validation" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 499 - pattern.json: "pattern validation" - "ignores null" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 500 - pattern.json: "pattern is not anchored" - "matches a substring" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 501 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 502 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 503 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/patternProperties/f.*o/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/patternProperties/f.*o/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 504 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/patternProperties/f.*o/type" 371s # }, 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foooooo", 371s # "keywordLocation": "/patternProperties/f.*o/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/patternProperties/f.*o/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 505 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 506 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 507 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 508 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 509 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 510 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 511 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/a", 371s # "keywordLocation": "/patternProperties/a*/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/a", 371s # "keywordLocation": "/patternProperties/a*/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 512 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 20", 371s # "instanceLocation": "/aaaa", 371s # "keywordLocation": "/patternProperties/aaa*/maximum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than 20", 371s # "instanceLocation": "/aaaa", 371s # "keywordLocation": "/patternProperties/aaa*/maximum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 513 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/aaa", 371s # "keywordLocation": "/patternProperties/a*/type" 371s # }, 371s # { 371s # "error": "value is greater than 20", 371s # "instanceLocation": "/aaaa", 371s # "keywordLocation": "/patternProperties/aaa*/maximum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/aaa", 371s # "keywordLocation": "/patternProperties/a*/type" 371s # }, 371s # { 371s # "error": "value is greater than 20", 371s # "instanceLocation": "/aaaa", 371s # "keywordLocation": "/patternProperties/aaa*/maximum" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 514 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 515 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not boolean", 371s # "instanceLocation": "/a31b", 371s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not boolean", 371s # "instanceLocation": "/a31b", 371s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 516 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 517 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/a_X_3", 371s # "keywordLocation": "/patternProperties/X_/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/a_X_3", 371s # "keywordLocation": "/patternProperties/X_/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 518 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 519 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/patternProperties/b.*" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/patternProperties/b.*" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 520 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/patternProperties/b.*" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/patternProperties/b.*" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 521 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/foobar", 371s # "keywordLocation": "/patternProperties/b.*" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/foobar", 371s # "keywordLocation": "/patternProperties/b.*" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 522 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 523 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 524 - properties.json: "object properties validation" - "both properties present and valid is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 525 - properties.json: "object properties validation" - "one property invalid is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 526 - properties.json: "object properties validation" - "both properties invalid is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar/type" 371s # }, 371s # { 371s # "error": "got array, not integer", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 527 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 528 - properties.json: "object properties validation" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 529 - properties.json: "object properties validation" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 530 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 531 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "array has more than 3 items", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/maxItems" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "array has more than 3 items", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/maxItems" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 532 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "array has fewer than 2 items", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/patternProperties/f.o/minItems" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "array has fewer than 2 items", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/patternProperties/f.o/minItems" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 533 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 534 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "array has fewer than 2 items", 371s # "instanceLocation": "/fxo", 371s # "keywordLocation": "/patternProperties/f.o/minItems" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "array has fewer than 2 items", 371s # "instanceLocation": "/fxo", 371s # "keywordLocation": "/patternProperties/f.o/minItems" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 535 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 536 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 537 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/quux", 371s # "keywordLocation": "/additionalProperties/type" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/quux", 371s # "keywordLocation": "/additionalProperties/type" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 538 - properties.json: "properties with boolean schema" - "no property present is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 539 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 540 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 541 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 542 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 543 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/foo\tbar", 371s # "keywordLocation": "/properties/foo\tbar/type" 371s # }, 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/foo\nbar", 371s # "keywordLocation": "/properties/foo\nbar/type" 371s # }, 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/foo\fbar", 371s # "keywordLocation": "/properties/foo\fbar/type" 371s # }, 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/foo\rbar", 371s # "keywordLocation": "/properties/foo\rbar/type" 371s # }, 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/foo\"bar", 371s # "keywordLocation": "/properties/foo\"bar/type" 371s # }, 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/foo\\bar", 371s # "keywordLocation": "/properties/foo\\bar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/foo\tbar", 371s # "keywordLocation": "/properties/foo\tbar/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 544 - properties.json: "properties with null valued instance properties" - "allows null values" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 545 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 546 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 547 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 548 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/__proto__", 371s # "keywordLocation": "/properties/__proto__/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "/__proto__", 371s # "keywordLocation": "/properties/__proto__/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 549 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/toString/length", 371s # "keywordLocation": "/properties/toString/properties/length/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/toString", 371s # "keywordLocation": "/properties/toString/properties" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/toString/length", 371s # "keywordLocation": "/properties/toString/properties/length/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/toString", 371s # "keywordLocation": "/properties/toString/properties" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 550 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not number", 371s # "instanceLocation": "/constructor", 371s # "keywordLocation": "/properties/constructor/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not number", 371s # "instanceLocation": "/constructor", 371s # "keywordLocation": "/properties/constructor/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 551 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 552 - propertyNames.json: "propertyNames validation" - "all property names valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 553 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "length is greater than 3", 371s # "instanceLocation": "/foobar", 371s # "keywordLocation": "/propertyNames/maxLength" 371s # }, 371s # { 371s # "error": "not all property names are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/propertyNames" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "length is greater than 3", 371s # "instanceLocation": "/foobar", 371s # "keywordLocation": "/propertyNames/maxLength" 371s # }, 371s # { 371s # "error": "not all property names are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/propertyNames" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 554 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 555 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 556 - propertyNames.json: "propertyNames validation" - "ignores strings" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 557 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 558 - propertyNames.json: "propertyNames validation with pattern" - "matching property names valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 559 - propertyNames.json: "propertyNames validation with pattern" - "non-matching property name is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "/aaA", 371s # "keywordLocation": "/propertyNames/pattern" 371s # }, 371s # { 371s # "error": "not all property names are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/propertyNames" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "/aaA", 371s # "keywordLocation": "/propertyNames/pattern" 371s # }, 371s # { 371s # "error": "not all property names are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/propertyNames" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 560 - propertyNames.json: "propertyNames validation with pattern" - "object without properties is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 561 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 562 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 563 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/propertyNames" 371s # }, 371s # { 371s # "error": "not all property names are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/propertyNames" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "subschema is false", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/propertyNames" 371s # }, 371s # { 371s # "error": "not all property names are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/propertyNames" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 564 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 565 - ref.json: "root pointer ref" - "match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 566 - ref.json: "root pointer ref" - "recursive match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 567 - ref.json: "root pointer ref" - "mismatch" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 568 - ref.json: "root pointer ref" - "recursive mismatch" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/additionalProperties", 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/foo/bar", 371s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/additionalProperties", 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/additionalProperties", 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/foo/bar", 371s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/additionalProperties", 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 569 - ref.json: "relative pointer ref to object" - "match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 570 - ref.json: "relative pointer ref to object" - "mismatch" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/properties/foo/type", 371s # "error": "got boolean, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/properties/foo/type", 371s # "error": "got boolean, not integer", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/properties/bar/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 571 - ref.json: "relative pointer ref to array" - "match array" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 572 - ref.json: "relative pointer ref to array" - "mismatch array" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/items/0/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/1/$ref/type" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/items/0/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/1", 371s # "keywordLocation": "/items/1/$ref/type" 371s # }, 371s # { 371s # "error": "not all items are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 573 - ref.json: "escaped pointer ref" - "slash invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/slash", 371s # "keywordLocation": "/properties/slash/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/slash", 371s # "keywordLocation": "/properties/slash/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 574 - ref.json: "escaped pointer ref" - "tilde invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/tilde", 371s # "keywordLocation": "/properties/tilde/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/tilde", 371s # "keywordLocation": "/properties/tilde/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 575 - ref.json: "escaped pointer ref" - "percent invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/percent", 371s # "keywordLocation": "/properties/percent/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/percent", 371s # "keywordLocation": "/properties/percent/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 576 - ref.json: "escaped pointer ref" - "slash valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 577 - ref.json: "escaped pointer ref" - "tilde valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 578 - ref.json: "escaped pointer ref" - "percent valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 579 - ref.json: "nested refs" - "nested ref valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 580 - ref.json: "nested refs" - "nested ref invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/a/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/a/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 581 - ref.json: "ref overrides any sibling keywords" - "ref valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 582 - ref.json: "ref overrides any sibling keywords" - "ref valid, maxItems ignored" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 583 - ref.json: "ref overrides any sibling keywords" - "ref invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/reffed/type", 371s # "error": "got string, not array", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/reffed/type", 371s # "error": "got string, not array", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 584 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data does not validate" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 585 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data validates" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 586 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 587 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeInteger/minimum", 371s # "error": "value is less than 0", 371s # "instanceLocation": "/minLength", 371s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeIntegerDefault0/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "/minLength", 371s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeInteger/minimum", 371s # "error": "value is less than 0", 371s # "instanceLocation": "/minLength", 371s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeIntegerDefault0/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "/minLength", 371s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 588 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 589 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/$ref", 371s # "keywordLocation": "/properties/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not string", 371s # "instanceLocation": "/$ref", 371s # "keywordLocation": "/properties/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 590 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 591 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/is-string/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/$ref", 371s # "keywordLocation": "/properties/$ref/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/is-string/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/$ref", 371s # "keywordLocation": "/properties/$ref/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 592 - ref.json: "$ref to boolean schema true" - "any value is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 593 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/bool", 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/bool", 371s # "error": "subschema is false", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 594 - ref.json: "Recursive references between schemas" - "valid tree" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 595 - ref.json: "Recursive references between schemas" - "invalid tree" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/nodes/0/subtree/nodes/0", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/nodes/0/subtree/nodes", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/nodes/0/subtree", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/nodes/0", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/nodes", 371s # "keywordLocation": "/properties/nodes/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/nodes/0/subtree/nodes/0", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/nodes/0/subtree/nodes", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/nodes/0/subtree", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/nodes/0", 371s # "keywordLocation": "/properties/nodes/items/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/nodes", 371s # "keywordLocation": "/properties/nodes/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 596 - ref.json: "refs with quote" - "object with numbers is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 597 - ref.json: "refs with quote" - "object with strings is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "/foo\"bar", 371s # "keywordLocation": "/properties/foo\"bar/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "/foo\"bar", 371s # "keywordLocation": "/properties/foo\"bar/$ref/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 598 - ref.json: "Location-independent identifier" - "match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 599 - ref.json: "Location-independent identifier" - "mismatch" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/A/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/A/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 600 - ref.json: "Reference an anchor with a non-relative URI" - "match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 601 - ref.json: "Reference an anchor with a non-relative URI" - "mismatch" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 602 - ref.json: "Location-independent identifier with base URI change in subschema" - "match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 603 - ref.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s 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" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s 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" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/enum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 606 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 607 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo/bar", 371s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo/bar", 371s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 608 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 609 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 610 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo/bar", 371s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo/bar", 371s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 611 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 612 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 613 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 614 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 371s # "error": "value is less than 30", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/minimum" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 371s # "error": "value is less than 30", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/minimum" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 615 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 616 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 617 - ref.json: "URN base URI with NSS" - "a string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 618 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 619 - ref.json: "URN base URI with r-component" - "a string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 620 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 621 - ref.json: "URN base URI with q-component" - "a string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 622 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 623 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 624 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 625 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 626 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/foo", 371s # "keywordLocation": "/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 627 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 628 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 629 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 630 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 631 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 632 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 633 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 634 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions//definitions//type", 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions//definitions//type", 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/type" 371s # }, 371s # { 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 635 - refRemote.json: "remote ref" - "remote ref valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 636 - refRemote.json: "remote ref" - "remote ref invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 637 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 638 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 639 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 640 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 641 - refRemote.json: "base URI change" - "base URI change ref valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 642 - refRemote.json: "base URI change" - "base URI change ref invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/0/0", 371s # "keywordLocation": "/items/items/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/0/0", 371s # "keywordLocation": "/items/items/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/0", 371s # "keywordLocation": "/items/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/items" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 643 - refRemote.json: "base URI change - change folder" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 644 - refRemote.json: "base URI change - change folder" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/list/0", 371s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/list", 371s # "keywordLocation": "/properties/list/$ref/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/list/0", 371s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/list", 371s # "keywordLocation": "/properties/list/$ref/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 645 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 646 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/list/0", 371s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/list", 371s # "keywordLocation": "/properties/list/$ref/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "/list/0", 371s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 371s # "error": "subschema is not valid against all items", 371s # "instanceLocation": "/list", 371s # "keywordLocation": "/properties/list/$ref/items" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 647 - refRemote.json: "root ref in remote ref" - "string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 648 - refRemote.json: "root ref in remote ref" - "null is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 649 - refRemote.json: "root ref in remote ref" - "object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 371s # "error": "got object, not null", 371s # "instanceLocation": "/name", 371s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 371s # "error": "got object, not string", 371s # "instanceLocation": "/name", 371s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "/name", 371s # "keywordLocation": "/properties/name/$ref/anyOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 371s # "error": "got object, not null", 371s # "instanceLocation": "/name", 371s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 371s # "error": "got object, not string", 371s # "instanceLocation": "/name", 371s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "/name", 371s # "keywordLocation": "/properties/name/$ref/anyOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 650 - refRemote.json: "remote ref with ref to definitions" - "invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/bar", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf/0/$ref/allOf" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 371s # "error": "subschema 0 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/allOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 651 - refRemote.json: "remote ref with ref to definitions" - "valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 652 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 653 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 654 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/name/foo", 371s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/name", 371s # "keywordLocation": "/properties/name/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "/name/foo", 371s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "/name", 371s # "keywordLocation": "/properties/name/$ref/properties" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/properties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 655 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 656 - refRemote.json: "$ref to $ref finds location-independent $id" - "number is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 657 - refRemote.json: "$ref to $ref finds location-independent $id" - "non-number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/draft6/detached-ref.json#/definitions/detached/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/draft6/detached-ref.json#/definitions/detached/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/$ref/$ref/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 658 - required.json: "required validation" - "present required property is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 659 - required.json: "required validation" - "non-present required property is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing property: foo", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 660 - required.json: "required validation" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 661 - required.json: "required validation" - "ignores strings" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 662 - required.json: "required validation" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 663 - required.json: "required default validation" - "not required by default" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 664 - required.json: "required with empty array" - "property not required" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 665 - required.json: "required with escaped characters" - "object with all properties present is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 666 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 667 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 668 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 669 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: __proto__, toString, constructor", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: __proto__, toString, constructor", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 670 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: toString, constructor", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: toString, constructor", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 671 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: __proto__, constructor", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: __proto__, constructor", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 672 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: __proto__, toString", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "object is missing properties: __proto__, toString", 371s # "instanceLocation": "", 371s # "keywordLocation": "/required" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 673 - required.json: "required properties whose names are Javascript object property names" - "all present" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 674 - type.json: "integer type matches integers" - "an integer is an integer" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 675 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 676 - type.json: "integer type matches integers" - "a float is not an integer" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got number, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got number, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 677 - type.json: "integer type matches integers" - "a string is not an integer" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 678 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got string, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 679 - type.json: "integer type matches integers" - "an object is not an integer" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got object, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got object, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 680 - type.json: "integer type matches integers" - "an array is not an integer" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got array, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got array, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 681 - type.json: "integer type matches integers" - "a boolean is not an integer" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got boolean, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got boolean, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 682 - type.json: "integer type matches integers" - "null is not an integer" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got null, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 371s # "error": "got null, not integer", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 683 - type.json: "number type matches numbers" - "an integer is a number" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 684 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 685 - type.json: "number type matches numbers" - "a float is a number" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 686 - type.json: "number type matches numbers" - "a string is not a number" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 687 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 688 - type.json: "number type matches numbers" - "an object is not a number" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 689 - type.json: "number type matches numbers" - "an array is not a number" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 690 - type.json: "number type matches numbers" - "a boolean is not a number" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 691 - type.json: "number type matches numbers" - "null is not a number" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not number", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 692 - type.json: "string type matches strings" - "1 is not a string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 693 - type.json: "string type matches strings" - "a float is not a string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got number, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got number, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 694 - type.json: "string type matches strings" - "a string is a string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 695 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 696 - type.json: "string type matches strings" - "an empty string is still a string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 697 - type.json: "string type matches strings" - "an object is not a string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got object, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got object, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 698 - type.json: "string type matches strings" - "an array is not a string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got array, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got array, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 699 - type.json: "string type matches strings" - "a boolean is not a string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got boolean, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got boolean, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 700 - type.json: "string type matches strings" - "null is not a string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got null, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got null, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 701 - type.json: "object type matches objects" - "an integer is not an object" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 702 - type.json: "object type matches objects" - "a float is not an object" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 703 - type.json: "object type matches objects" - "a string is not an object" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 704 - type.json: "object type matches objects" - "an object is an object" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 705 - type.json: "object type matches objects" - "an array is not an object" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 706 - type.json: "object type matches objects" - "a boolean is not an object" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 707 - type.json: "object type matches objects" - "null is not an object" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 708 - type.json: "array type matches arrays" - "an integer is not an array" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 709 - type.json: "array type matches arrays" - "a float is not an array" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 710 - type.json: "array type matches arrays" - "a string is not an array" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 711 - type.json: "array type matches arrays" - "an object is not an array" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 712 - type.json: "array type matches arrays" - "an array is an array" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 713 - type.json: "array type matches arrays" - "a boolean is not an array" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 714 - type.json: "array type matches arrays" - "null is not an array" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not array", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 715 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 716 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 717 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 718 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 719 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 720 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 721 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 722 - type.json: "boolean type matches booleans" - "true is a boolean" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 723 - type.json: "boolean type matches booleans" - "false is a boolean" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 724 - type.json: "boolean type matches booleans" - "null is not a boolean" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not boolean", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 725 - type.json: "null type matches only the null object" - "an integer is not null" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 726 - type.json: "null type matches only the null object" - "a float is not null" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 727 - type.json: "null type matches only the null object" - "zero is not null" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 728 - type.json: "null type matches only the null object" - "a string is not null" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 729 - type.json: "null type matches only the null object" - "an empty string is not null" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 730 - type.json: "null type matches only the null object" - "an object is not null" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 731 - type.json: "null type matches only the null object" - "an array is not null" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 732 - type.json: "null type matches only the null object" - "true is not null" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 733 - type.json: "null type matches only the null object" - "false is not null" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 734 - type.json: "null type matches only the null object" - "null is null" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 735 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 736 - type.json: "multiple types can be specified in an array" - "a string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 737 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got number, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 738 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got object, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 739 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got array, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 740 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got boolean, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 741 - type.json: "multiple types can be specified in an array" - "null is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not one of integer, string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 742 - type.json: "type as array with one item" - "string is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 743 - type.json: "type as array with one item" - "number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not one of string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not one of string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 744 - type.json: "type: array or object" - "array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 745 - type.json: "type: array or object" - "object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 746 - type.json: "type: array or object" - "number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not one of array, object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not one of array, object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 747 - type.json: "type: array or object" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not one of array, object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not one of array, object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 748 - type.json: "type: array or object" - "null is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not one of array, object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got null, not one of array, object", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 749 - type.json: "type: array, object or null" - "array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 750 - type.json: "type: array, object or null" - "object is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 751 - type.json: "type: array, object or null" - "null is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 752 - type.json: "type: array, object or null" - "number is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not one of array, object, null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got integer, not one of array, object, null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 753 - type.json: "type: array, object or null" - "string is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not one of array, object, null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not one of array, object, null", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 754 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 755 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 756 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 2 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 2 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 757 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 758 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 759 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 760 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 761 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 2 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 2 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 762 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 763 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 764 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 765 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 766 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 767 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 768 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 769 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 2 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 2 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 770 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 771 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 772 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 773 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 774 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 775 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 776 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 777 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 4 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 4 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 778 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 779 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 780 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 781 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 782 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 783 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 784 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 785 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 786 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 787 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 788 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 2 and 3 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 2 and 3 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 789 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 2 and 3 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 2 and 3 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 790 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 791 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 792 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 793 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "items at indices 0 and 1 are not unique", 371s # "instanceLocation": "", 371s # "keywordLocation": "/uniqueItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 794 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 795 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 796 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 797 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 798 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 799 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 800 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 801 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 802 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 803 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 804 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 805 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 806 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 807 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 808 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 809 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 810 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 811 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 812 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 813 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 814 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 815 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 816 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 817 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 818 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 819 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 820 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 821 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 822 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional item not permitted", 371s # "instanceLocation": "/2", 371s # "keywordLocation": "/additionalItems" 371s # }, 371s # { 371s # "error": "subschema is not valid against all additional items", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalItems" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 823 - optional/bignum.json: "integer" - "a bignum is an integer" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 824 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 825 - optional/bignum.json: "number" - "a bignum is a number" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 826 - optional/bignum.json: "number" - "a negative bignum is a number" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 827 - optional/bignum.json: "string" - "a bignum is not a string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/type" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 828 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 829 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMaximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMaximum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 830 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 831 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMinimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 371s # "instanceLocation": "", 371s # "keywordLocation": "/exclusiveMinimum" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 832 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 833 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 834 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 835 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 836 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 837 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 838 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 839 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 840 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true # 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # data: "\"߀\"" 371s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # data: "\"߀\"" 371s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s 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" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false # 371s 1..1 371s } 371s 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" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected true; got false 371s # data: "\"߀\"" 371s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s 1..1 371s } 371s 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" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected true; got false 371s # data: "\"߀\"" 371s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s 1..1 371s } 371s ok 846 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true # 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # data: "\"é\"" 371s # schema: "{\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s 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" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false # 371s 1..1 371s } 371s 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" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected true; got false 371s # data: "\"é\"" 371s # schema: "{\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s 1..1 371s } 371s ok 850 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 851 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 852 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 853 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 854 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 855 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected true; got false 371s # data: "\"\"" 371s # schema: "{\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s 1..1 371s } 371s ok 856 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 857 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 858 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 859 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 860 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 861 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 862 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 863 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 864 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 865 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # data: "\"\"" 371s # schema: "{\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s ok 867 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 868 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 869 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 870 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 871 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 872 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 873 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 874 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 875 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 876 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # 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.\"" 371s # schema: "{\"pattern\":\"\\\\wcole\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # 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.\"" 371s # schema: "{\"pattern\":\"\\\\wcole\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s ok 879 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 880 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 881 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 882 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 883 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 884 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # data: "\"৪২\"" 371s # schema: "{\"pattern\":\"^\\\\d+$\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s ok 886 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 887 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 888 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 889 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 890 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 891 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 892 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/L'ÉCOLE", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/L'ÉCOLE", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 893 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # data: "{\"l'école\":\"pas de vraie vie\"}" 371s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # data: "{\"l'école\":\"pas de vraie vie\"}" 371s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s ok 896 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/L'ÉCOLE", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/L'ÉCOLE", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 897 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/l'école", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/l'école", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 898 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/l'école", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/l'école", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 899 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 900 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 901 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/-%#", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/-%#", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s 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" 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s not ok 1 - evaluation result is incorrect # 371s # Failed test (with amnesty) 'evaluation result is incorrect' 371s # at t/zzz-acceptance-draft6.t line 49. 371s # expected false; got true 371s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 371s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 371s # result: { 371s # "valid": true 371s # } 371s 1..1 371s } 371s ok 903 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 904 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/-%#", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "additional property not permitted", 371s # "instanceLocation": "/-%#", 371s # "keywordLocation": "/additionalProperties" 371s # }, 371s # { 371s # "error": "not all additional properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/additionalProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 905 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 906 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s # 371s ok 907 - optional/id.json: "id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 908 - optional/id.json: "id inside an enum is not a real identifier" - "match $ref to id" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 909 - optional/id.json: "id inside an enum is not a real identifier" - "no match on enum or $ref to id" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/$ref/enum" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/$ref/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/$ref/enum" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/$ref/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 910 - optional/id.json: "non-schema object containing a plain-name $id property" - "skip traversing definition for a valid result" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 911 - optional/id.json: "non-schema object containing a plain-name $id property" - "const at const_not_anchor does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/const" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/allOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/const" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/allOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 912 - optional/id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 913 - optional/id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/const" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/allOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/0/const" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 371s # "error": "value does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 371s # }, 371s # { 371s # "error": "subschema 1 is not valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf/1/allOf" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/oneOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s ok 914 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 915 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 916 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 917 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 918 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 919 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 920 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "pattern does not match", 371s # "instanceLocation": "", 371s # "keywordLocation": "/pattern" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 921 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 922 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 923 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 924 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/🐲", 371s # "keywordLocation": "/patternProperties/^🐲*$/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/🐲", 371s # "keywordLocation": "/patternProperties/^🐲*$/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 925 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 371s # result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/🐲🐲", 371s # "keywordLocation": "/patternProperties/^🐲*$/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "error": "got string, not integer", 371s # "instanceLocation": "/🐲🐲", 371s # "keywordLocation": "/patternProperties/^🐲*$/type" 371s # }, 371s # { 371s # "error": "not all properties are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/patternProperties" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s 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" { 371s # result: { 371s # "valid": true 371s # } 371s # short-circuited result: { 371s # "valid": true 371s # } 371s ok 1 - test passes: data is valid: true 371s 1..1 371s } 371s ok 927 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/$ref/not" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/$ref/not" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 371s # "error": "got null, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/2/$ref/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/$ref/not" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/$ref/not" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 371s # "error": "got null, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/2/$ref/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s ok 928 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 371s # result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/$ref/not" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/$ref/not" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/2/$ref/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s # short-circuited result: { 371s # "errors": [ 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/0/$ref/not" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 371s # "error": "subschema is valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/1/$ref/not" 371s # }, 371s # { 371s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 371s # "error": "got integer, not string", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf/2/$ref/type" 371s # }, 371s # { 371s # "error": "no subschemas are valid", 371s # "instanceLocation": "", 371s # "keywordLocation": "/anyOf" 371s # } 371s # ], 371s # "valid": false 371s # } 371s ok 1 - test passes: data is valid: false 371s 1..1 371s } 371s # 371s # 371s # generated with: Test::JSON::Schema::Acceptance 1.026 371s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 371s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 371s # specification version: draft6 371s # optional tests included: yes 371s # skipping directory: optional/format 371s # 371s # filename pass todo-fail fail 371s # --------------------------------------------------------------- 371s # additionalItems.json 20 0 0 371s # additionalProperties.json 16 0 0 371s # allOf.json 30 0 0 371s # anyOf.json 18 0 0 371s # boolean_schema.json 18 0 0 371s # const.json 50 0 0 371s # contains.json 19 0 0 371s # default.json 7 0 0 371s # definitions.json 2 0 0 371s # dependencies.json 36 0 0 371s # enum.json 45 0 0 371s # exclusiveMaximum.json 4 0 0 371s # exclusiveMinimum.json 4 0 0 371s # format.json 54 0 0 371s # infinite-loop-detection.json 2 0 0 371s # items.json 28 0 0 371s # maxItems.json 6 0 0 371s # maxLength.json 7 0 0 371s # maxProperties.json 10 0 0 371s # maximum.json 8 0 0 371s # minItems.json 6 0 0 371s # minLength.json 7 0 0 371s # minProperties.json 8 0 0 371s # minimum.json 11 0 0 371s # multipleOf.json 10 0 0 371s # not.json 38 0 0 371s # oneOf.json 27 0 0 371s # pattern.json 9 0 0 371s # patternProperties.json 23 0 0 371s # properties.json 28 0 0 371s # propertyNames.json 13 0 0 371s # ref.json 70 0 0 371s # refRemote.json 23 0 0 371s # required.json 16 0 0 371s # type.json 80 0 0 371s # uniqueItems.json 69 0 0 371s # optional/bignum.json 9 0 0 371s # optional/ecmascript-regex.json 60 14 0 371s # optional/float-overflow.json 1 0 0 371s # optional/id.json 7 0 0 371s # optional/non-bmp-regex.json 12 0 0 371s # optional/unknownKeyword.json 3 0 0 371s # --------------------------------------------------------------- 371s # TOTAL 914 14 0 371s # 371s # Congratulations, all non-optional tests are passing! 371s # 371s ok 929 - no leaks in the main evaluator object 371s ok 930 - no leaks in the short-circuiting evaluator object 371s 1..930 371s ok 373s t/zzz-acceptance-draft7-format.t ........ 373s # AUTHOR_TESTING: 373s # AUTOMATED_TESTING: 1 373s # EXTENDED_TESTING: 373s # NO_TODO: 373s # TEST_DIR: 373s # NO_SHORT_CIRCUIT: 373s # 373s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft7/optional/format against draft7... 373s # 373s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date-time", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s # 373s ok 26 - date.json: "validation of date strings" - "all string formats ignore integers" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 27 - date.json: "validation of date strings" - "all string formats ignore floats" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 28 - date.json: "validation of date strings" - "all string formats ignore objects" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 29 - date.json: "validation of date strings" - "all string formats ignore arrays" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 30 - date.json: "validation of date strings" - "all string formats ignore booleans" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 31 - date.json: "validation of date strings" - "all string formats ignore nulls" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 32 - date.json: "validation of date strings" - "a valid date string" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 33 - date.json: "validation of date strings" - "a valid date string with 31 days in January" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 34 - date.json: "validation of date strings" - "a invalid date string with 32 days in January" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 35 - date.json: "validation of date strings" - "a valid date string with 28 days in February (normal)" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 36 - date.json: "validation of date strings" - "a invalid date string with 29 days in February (normal)" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 37 - date.json: "validation of date strings" - "a valid date string with 29 days in February (leap)" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 38 - date.json: "validation of date strings" - "a invalid date string with 30 days in February (leap)" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 39 - date.json: "validation of date strings" - "a valid date string with 31 days in March" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 40 - date.json: "validation of date strings" - "a invalid date string with 32 days in March" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 41 - date.json: "validation of date strings" - "a valid date string with 30 days in April" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 42 - date.json: "validation of date strings" - "a invalid date string with 31 days in April" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 43 - date.json: "validation of date strings" - "a valid date string with 31 days in May" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 44 - date.json: "validation of date strings" - "a invalid date string with 32 days in May" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 45 - date.json: "validation of date strings" - "a valid date string with 30 days in June" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 46 - date.json: "validation of date strings" - "a invalid date string with 31 days in June" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 47 - date.json: "validation of date strings" - "a valid date string with 31 days in July" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 48 - date.json: "validation of date strings" - "a invalid date string with 32 days in July" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 49 - date.json: "validation of date strings" - "a valid date string with 31 days in August" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 50 - date.json: "validation of date strings" - "a invalid date string with 32 days in August" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 51 - date.json: "validation of date strings" - "a valid date string with 30 days in September" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 52 - date.json: "validation of date strings" - "a invalid date string with 31 days in September" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 53 - date.json: "validation of date strings" - "a valid date string with 31 days in October" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 54 - date.json: "validation of date strings" - "a invalid date string with 32 days in October" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 55 - date.json: "validation of date strings" - "a valid date string with 30 days in November" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 56 - date.json: "validation of date strings" - "a invalid date string with 31 days in November" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 57 - date.json: "validation of date strings" - "a valid date string with 31 days in December" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 58 - date.json: "validation of date strings" - "a invalid date string with 32 days in December" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 59 - date.json: "validation of date strings" - "a invalid date string with invalid month" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 60 - date.json: "validation of date strings" - "an invalid date string" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 61 - date.json: "validation of date strings" - "only RFC3339 not all of ISO 8601 are valid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 62 - date.json: "validation of date strings" - "non-padded month dates are not valid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 63 - date.json: "validation of date strings" - "non-padded day dates are not valid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 64 - date.json: "validation of date strings" - "invalid month" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 65 - date.json: "validation of date strings" - "invalid month-day combination" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 66 - date.json: "validation of date strings" - "2021 is not a leap year" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 67 - date.json: "validation of date strings" - "2020 is a leap year" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 68 - date.json: "validation of date strings" - "invalid non-ASCII '৪' (a Bengali 4)" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 69 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 70 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 71 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 72 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid date", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s # 373s ok 73 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 74 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 75 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 76 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 77 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 78 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 79 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 80 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 81 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 82 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 83 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 84 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 85 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 86 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 87 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s # 373s ok 88 - hostname.json: "validation of host names" - "all string formats ignore integers" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 89 - hostname.json: "validation of host names" - "all string formats ignore floats" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 90 - hostname.json: "validation of host names" - "all string formats ignore objects" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 91 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 92 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 93 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 94 - hostname.json: "validation of host names" - "a valid host name" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 95 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 96 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 97 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 98 - hostname.json: "validation of host names" - "a host name with a component too long" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 99 - hostname.json: "validation of host names" - "starts with hyphen" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 100 - hostname.json: "validation of host names" - "ends with hyphen" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 101 - hostname.json: "validation of host names" - "starts with underscore" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 102 - hostname.json: "validation of host names" - "ends with underscore" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 103 - hostname.json: "validation of host names" - "contains underscore" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 104 - hostname.json: "validation of host names" - "maximum label length" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 105 - hostname.json: "validation of host names" - "exceeds maximum label length" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 106 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"hostname\"" 373s # schema: "{\"format\":\"hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 107 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"host-name\"" 373s # schema: "{\"format\":\"hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 108 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"h0stn4me\"" 373s # schema: "{\"format\":\"hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 109 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"hostnam3\"" 373s # schema: "{\"format\":\"hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s # 373s ok 110 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore integers" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 111 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore floats" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 112 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore objects" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 113 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore arrays" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 114 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore booleans" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 115 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore nulls" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 116 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid idn e-mail (example@example.test in Hangul)" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 117 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid idn e-mail address" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 118 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid e-mail address" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 119 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid e-mail address" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-email", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s # 373s ok 120 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true # 373s 1..1 373s } 373s ok 121 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true # 373s 1..1 373s } 373s ok 122 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true # 373s 1..1 373s } 373s ok 123 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true # 373s 1..1 373s } 373s ok 124 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true # 373s 1..1 373s } 373s ok 125 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true # 373s 1..1 373s } 373s 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" 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true # 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s 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" 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected false; got true 373s # data: "\"실〮례.테스트\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "valid": true 373s # } 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 130 - idn-hostname.json: "validation of internationalized host names" - "invalid label, correct Punycode" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 131 - idn-hostname.json: "validation of internationalized host names" - "valid Chinese Punycode" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"xn--ihqwcrb4cv8a8dqg056pqjye\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 132 - idn-hostname.json: "validation of internationalized host names" - "invalid Punycode" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 134 - idn-hostname.json: "validation of internationalized host names" - "U-label starts with a dash" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 135 - idn-hostname.json: "validation of internationalized host names" - "U-label ends with a dash" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 137 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Spacing Combining Mark" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 138 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Nonspacing Mark" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 139 - idn-hostname.json: "validation of internationalized host names" - "Begins with an Enclosing Mark" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"ßς་〇\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"Û½Û¾\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 144 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no preceding 'l'" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 145 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing preceding" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 146 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no following 'l'" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 147 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing following" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 148 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with surrounding 'l's" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"l·l\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 149 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by Greek" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 150 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by anything" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 151 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA followed by Greek" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"α͵β\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 152 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 153 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by anything" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 154 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"א׳ב\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 155 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 156 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by anything" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 157 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"א״ב\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 159 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no other characters" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 160 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Hiragana" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"・ぁ\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 161 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Katakana" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"・ァ\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 162 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Han" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"・丈\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"ب٠ب\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"Û°0\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 166 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by Virama" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 167 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by anything" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false # 373s 1..1 373s } 373s ok 168 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"क्‍ष\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 169 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"क्‌ष\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s 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" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"بي‌بي\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 171 - idn-hostname.json: "validation of internationalized host names" - "single label" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"hostname\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 172 - idn-hostname.json: "validation of internationalized host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"host-name\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 173 - idn-hostname.json: "validation of internationalized host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"h0stn4me\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s ok 174 - idn-hostname.json: "validation of internationalized host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s not ok 1 - evaluation result is incorrect # 373s # Failed test (with amnesty) 'evaluation result is incorrect' 373s # at t/zzz-acceptance-draft7-format.t line 68. 373s # expected true; got false 373s # data: "\"hostnam3\"" 373s # schema: "{\"format\":\"idn-hostname\"}" 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid idn-hostname", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s 1..1 373s } 373s # 373s ok 175 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 176 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 177 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 178 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 179 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 180 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 181 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 182 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 183 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 184 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 185 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 186 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 187 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 188 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 189 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 190 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv4", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s # 373s ok 191 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 192 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 193 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 194 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 195 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 196 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 197 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 198 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 199 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 200 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 201 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 202 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 203 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 204 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 205 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 373s # result: { 373s # "valid": true 373s # } 373s # short-circuited result: { 373s # "valid": true 373s # } 373s ok 1 - test passes: data is valid: true 373s 1..1 373s } 373s ok 206 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 207 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 373s } 373s ok 208 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 373s # result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s # short-circuited result: { 373s # "errors": [ 373s # { 373s # "error": "not a valid ipv6", 373s # "instanceLocation": "", 373s # "keywordLocation": "/format" 373s # } 373s # ], 373s # "valid": false 373s # } 373s ok 1 - test passes: data is valid: false 373s 1..1 374s } 374s ok 209 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 210 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 211 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 212 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 213 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 214 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 215 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 216 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 217 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 218 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 219 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 220 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 221 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 222 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 223 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 224 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 225 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 226 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 227 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 228 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 229 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 230 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid ipv6", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s # 374s ok 231 - iri-reference.json: "validation of IRI References" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 232 - iri-reference.json: "validation of IRI References" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 233 - iri-reference.json: "validation of IRI References" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 234 - iri-reference.json: "validation of IRI References" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 235 - iri-reference.json: "validation of IRI References" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 236 - iri-reference.json: "validation of IRI References" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 237 - iri-reference.json: "validation of IRI References" - "a valid IRI" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 238 - iri-reference.json: "validation of IRI References" - "a valid protocol-relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 239 - iri-reference.json: "validation of IRI References" - "a valid relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 240 - iri-reference.json: "validation of IRI References" - "an invalid IRI Reference" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s not ok 1 - evaluation result is incorrect # 374s # Failed test (with amnesty) 'evaluation result is incorrect' 374s # at t/zzz-acceptance-draft7-format.t line 68. 374s # expected false; got true 374s # data: "\"\\\\\\\\WINDOWS\\\\filëßåré\"" 374s # schema: "{\"format\":\"iri-reference\"}" 374s # result: { 374s # "valid": true 374s # } 374s 1..1 374s } 374s ok 241 - iri-reference.json: "validation of IRI References" - "a valid IRI Reference" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 242 - iri-reference.json: "validation of IRI References" - "a valid IRI fragment" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 243 - iri-reference.json: "validation of IRI References" - "an invalid IRI fragment" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s not ok 1 - evaluation result is incorrect # 374s # Failed test (with amnesty) 'evaluation result is incorrect' 374s # at t/zzz-acceptance-draft7-format.t line 68. 374s # expected false; got true 374s # data: "\"#ƒräg\\\\mênt\"" 374s # schema: "{\"format\":\"iri-reference\"}" 374s # result: { 374s # "valid": true 374s # } 374s 1..1 374s } 374s # 374s ok 244 - iri.json: "validation of IRIs" - "all string formats ignore integers" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 245 - iri.json: "validation of IRIs" - "all string formats ignore floats" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 246 - iri.json: "validation of IRIs" - "all string formats ignore objects" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 247 - iri.json: "validation of IRIs" - "all string formats ignore arrays" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 248 - iri.json: "validation of IRIs" - "all string formats ignore booleans" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 249 - iri.json: "validation of IRIs" - "all string formats ignore nulls" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 250 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 251 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag and parentheses" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 252 - iri.json: "validation of IRIs" - "a valid IRI with URL-encoded stuff" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 253 - iri.json: "validation of IRIs" - "a valid IRI with many special characters" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 254 - iri.json: "validation of IRIs" - "a valid IRI based on IPv6" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 255 - iri.json: "validation of IRIs" - "an invalid IRI based on IPv6" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s not ok 1 - evaluation result is incorrect # 374s # Failed test (with amnesty) 'evaluation result is incorrect' 374s # at t/zzz-acceptance-draft7-format.t line 68. 374s # expected false; got true 374s # data: "\"http://2001:0db8:85a3:0000:0000:8a2e:0370:7334\"" 374s # schema: "{\"format\":\"iri\"}" 374s # result: { 374s # "valid": true 374s # } 374s 1..1 374s } 374s ok 256 - iri.json: "validation of IRIs" - "an invalid relative IRI Reference" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid iri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid iri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 257 - iri.json: "validation of IRIs" - "an invalid IRI" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid iri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid iri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 258 - iri.json: "validation of IRIs" - "an invalid IRI though valid IRI reference" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid iri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid iri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s # 374s ok 259 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 260 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 261 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 262 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 263 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 264 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 265 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 266 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 267 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 268 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 269 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 270 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 271 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 272 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 273 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 274 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 275 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 276 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 277 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 278 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 279 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 280 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 281 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 282 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 283 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 284 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 285 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 286 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 287 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 288 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 289 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 290 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 291 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 292 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 293 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 294 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 295 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 296 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s # 374s ok 297 - regex.json: "validation of regular expressions" - "all string formats ignore integers" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 298 - regex.json: "validation of regular expressions" - "all string formats ignore floats" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 299 - regex.json: "validation of regular expressions" - "all string formats ignore objects" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 300 - regex.json: "validation of regular expressions" - "all string formats ignore arrays" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 301 - regex.json: "validation of regular expressions" - "all string formats ignore booleans" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 302 - regex.json: "validation of regular expressions" - "all string formats ignore nulls" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 303 - regex.json: "validation of regular expressions" - "a valid regular expression" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 304 - regex.json: "validation of regular expressions" - "a regular expression with unclosed parens is invalid" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid regex", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid regex", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s # 374s ok 305 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore integers" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 306 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore floats" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 307 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore objects" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 308 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore arrays" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 309 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore booleans" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 310 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore nulls" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 311 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid upwards RJP" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 312 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid downwards RJP" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 313 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid up and then down RJP, with array index" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 314 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid RJP taking the member or index name" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 315 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "an invalid RJP that is a valid JSON Pointer" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 316 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "negative prefix" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 317 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "explicit positive prefix" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 318 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "\#\# is not a valid json-pointer" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 319 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus json-pointer" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 320 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus octothorpe" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 321 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "empty string" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid relative-json-pointer", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 322 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "multi-digit integer prefix" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s # 374s ok 323 - time.json: "validation of time strings" - "all string formats ignore integers" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 324 - time.json: "validation of time strings" - "all string formats ignore floats" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 325 - time.json: "validation of time strings" - "all string formats ignore objects" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 326 - time.json: "validation of time strings" - "all string formats ignore arrays" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 327 - time.json: "validation of time strings" - "all string formats ignore booleans" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 328 - time.json: "validation of time strings" - "all string formats ignore nulls" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 329 - time.json: "validation of time strings" - "a valid time string" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 330 - time.json: "validation of time strings" - "invalid time string with extra leading zeros" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 331 - time.json: "validation of time strings" - "invalid time string with no leading zero for single digit" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 332 - time.json: "validation of time strings" - "hour, minute, second must be two digits" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 333 - time.json: "validation of time strings" - "a valid time string with leap second, Zulu" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 334 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 335 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 336 - time.json: "validation of time strings" - "valid leap second, zero time-offset" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 337 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong hour)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 338 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong minute)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 339 - time.json: "validation of time strings" - "valid leap second, positive time-offset" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 340 - time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 341 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 342 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 343 - time.json: "validation of time strings" - "valid leap second, negative time-offset" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 344 - time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 345 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 346 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 347 - time.json: "validation of time strings" - "a valid time string with second fraction" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 348 - time.json: "validation of time strings" - "a valid time string with precise second fraction" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 349 - time.json: "validation of time strings" - "a valid time string with plus offset" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 350 - time.json: "validation of time strings" - "a valid time string with minus offset" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 351 - time.json: "validation of time strings" - "hour, minute in time-offset must be two digits" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 352 - time.json: "validation of time strings" - "a valid time string with case-insensitive Z" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 353 - time.json: "validation of time strings" - "an invalid time string with invalid hour" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 354 - time.json: "validation of time strings" - "an invalid time string with invalid minute" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 355 - time.json: "validation of time strings" - "an invalid time string with invalid second" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 356 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong hour)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 357 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong minute)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 358 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset hour" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 359 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset minute" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 360 - time.json: "validation of time strings" - "an invalid time string with invalid time with both Z and numoffset" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 361 - time.json: "validation of time strings" - "an invalid offset indicator" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 362 - time.json: "validation of time strings" - "only RFC3339 not all of ISO 8601 are valid" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 363 - time.json: "validation of time strings" - "no time offset" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 364 - time.json: "validation of time strings" - "no time offset with second fraction" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 365 - time.json: "validation of time strings" - "invalid non-ASCII '২' (a Bengali 2)" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 366 - time.json: "validation of time strings" - "offset not starting with plus or minus" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 367 - time.json: "validation of time strings" - "contains letters" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid time", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s # 374s ok 368 - unknown.json: "unknown format" - "unknown formats ignore integers" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 369 - unknown.json: "unknown format" - "unknown formats ignore floats" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 370 - unknown.json: "unknown format" - "unknown formats ignore objects" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 371 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 372 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 373 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 374 - unknown.json: "unknown format" - "unknown formats ignore strings" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s # 374s ok 375 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 376 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 377 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 378 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 379 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 380 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 381 - uri-reference.json: "validation of URI References" - "a valid URI" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 382 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 383 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 384 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri-reference", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri-reference", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 385 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 386 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 387 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri-reference", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri-reference", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s # 374s ok 388 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 389 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 390 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 391 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 392 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 393 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 394 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 395 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s not ok 1 - evaluation result is incorrect # 374s # Failed test (with amnesty) 'evaluation result is incorrect' 374s # at t/zzz-acceptance-draft7-format.t line 68. 374s # expected false; got true 374s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 374s # schema: "{\"format\":\"uri-template\"}" 374s # result: { 374s # "valid": true 374s # } 374s 1..1 374s } 374s ok 396 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s ok 397 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true # 374s 1..1 374s } 374s # 374s ok 398 - uri.json: "validation of URIs" - "all string formats ignore integers" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 399 - uri.json: "validation of URIs" - "all string formats ignore floats" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 400 - uri.json: "validation of URIs" - "all string formats ignore objects" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 401 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 402 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 403 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 404 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 405 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 406 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 407 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 408 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 409 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 410 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 411 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 412 - uri.json: "validation of URIs" - "a valid URL " { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 413 - uri.json: "validation of URIs" - "a valid mailto URI" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 414 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 415 - uri.json: "validation of URIs" - "a valid tel URI" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 416 - uri.json: "validation of URIs" - "a valid URN" { 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s ok 1 - test passes: data is valid: true 374s 1..1 374s } 374s ok 417 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 418 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 419 - uri.json: "validation of URIs" - "an invalid URI" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 420 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 421 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 422 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 374s # result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s # short-circuited result: { 374s # "errors": [ 374s # { 374s # "error": "not a valid uri", 374s # "instanceLocation": "", 374s # "keywordLocation": "/format" 374s # } 374s # ], 374s # "valid": false 374s # } 374s ok 1 - test passes: data is valid: false 374s 1..1 374s } 374s ok 423 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 374s # result: { 374s # "valid": true 374s # } 374s # short-circuited result: { 374s # "valid": true 374s # } 374s not ok 1 - evaluation result is incorrect # 374s # Failed test (with amnesty) 'evaluation result is incorrect' 374s # at t/zzz-acceptance-draft7-format.t line 68. 374s # expected false; got true 374s # data: "\"bar,baz:foo\"" 374s # schema: "{\"format\":\"uri\"}" 374s # result: { 374s # "valid": true 374s # } 374s 1..1 374s } 374s # 374s # 374s # generated with: Test::JSON::Schema::Acceptance 1.026 374s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 374s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 374s # specification version: draft7 374s # using custom test directory: /optional/format 374s # optional tests included: yes 374s # 374s # filename pass todo-fail fail 374s # --------------------------------------------------------------- 374s # date-time.json 25 0 0 374s # date.json 47 0 0 374s # email.json 15 0 0 374s # hostname.json 18 4 0 374s # idn-email.json 10 0 0 374s # idn-hostname.json 35 20 0 374s # ipv4.json 16 0 0 374s # ipv6.json 40 0 0 374s # iri-reference.json 11 2 0 374s # iri.json 14 1 0 374s # json-pointer.json 38 0 0 374s # regex.json 8 0 0 374s # relative-json-pointer.json 18 0 0 374s # time.json 45 0 0 374s # unknown.json 7 0 0 374s # uri-reference.json 13 0 0 374s # uri-template.json 9 1 0 374s # uri.json 25 1 0 374s # --------------------------------------------------------------- 374s # TOTAL 394 29 0 374s # 374s # Congratulations, all non-optional tests are passing! 374s # 374s ok 424 - no leaks in the main evaluator object 374s ok 425 - no leaks in the short-circuiting evaluator object 374s 1..425 374s ok 381s t/zzz-acceptance-draft7.t ............... 381s # AUTHOR_TESTING: 381s # AUTOMATED_TESTING: 1 381s # EXTENDED_TESTING: 381s # NO_TODO: 381s # TEST_DIR: 381s # NO_SHORT_CIRCUIT: 381s # 381s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 381s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft7 against draft7... 381s # 381s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/3", 381s # "keywordLocation": "/additionalItems/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/3", 381s # "keywordLocation": "/additionalItems/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "valid with a array of type integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 4 - additionalItems.json: "when items is schema, additionalItems does nothing" - "invalid with a array of mixed types" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/type" 381s # }, 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 5 - additionalItems.json: "when items is schema, boolean additionalItems does nothing" - "all items match schema" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 9 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 10 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/3", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/3", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 11 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 12 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 13 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 14 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 15 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not boolean", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/additionalItems/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not boolean", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/additionalItems/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 16 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 17 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/additionalItems/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/additionalItems/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 18 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 19 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 20 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/quux", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/quux", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 25 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 26 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 27 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 28 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/élmény", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/élmény", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 29 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 30 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 31 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "/quux", 381s # "keywordLocation": "/additionalProperties/type" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "/quux", 381s # "keywordLocation": "/additionalProperties/type" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 32 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 33 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/additionalProperties/type" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/additionalProperties/type" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 34 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 35 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/additionalProperties/type" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/additionalProperties/type" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 36 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 37 - allOf.json: "allOf" - "allOf" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 38 - allOf.json: "allOf" - "mismatch second" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/required" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/required" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 39 - allOf.json: "allOf" - "mismatch first" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/required" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/required" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 40 - allOf.json: "allOf" - "wrong type" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/allOf/0/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/properties" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/allOf/0/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/properties" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 41 - allOf.json: "allOf with base schema" - "valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 42 - allOf.json: "allOf with base schema" - "mismatch base schema" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 43 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/required" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/required" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 44 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: baz", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/required" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: baz", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/required" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 45 - allOf.json: "allOf with base schema" - "mismatch both" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/required" 381s # }, 381s # { 381s # "error": "object is missing property: baz", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/required" 381s # }, 381s # { 381s # "error": "subschemas 0, 1 are not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/required" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 46 - allOf.json: "allOf simple types" - "valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 47 - allOf.json: "allOf simple types" - "mismatch one" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 30", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/maximum" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 30", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/maximum" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 48 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 49 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 50 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0" 381s # }, 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1" 381s # }, 381s # { 381s # "error": "subschemas 0, 1 are not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 51 - allOf.json: "allOf with one empty schema" - "any data is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 52 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 53 - allOf.json: "allOf with the first empty schema" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 54 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/type" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/type" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 55 - allOf.json: "allOf with the last empty schema" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 56 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 57 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 58 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/allOf/0/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/allOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/allOf/0/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/allOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 59 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 5", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 60 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 61 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 5", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 62 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 63 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 5", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 64 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 65 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 5", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 5", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/multipleOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 66 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 67 - anyOf.json: "anyOf" - "first anyOf valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 68 - anyOf.json: "anyOf" - "second anyOf valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 69 - anyOf.json: "anyOf" - "both anyOf valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 70 - anyOf.json: "anyOf" - "neither anyOf valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/type" 381s # }, 381s # { 381s # "error": "value is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/minimum" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/type" 381s # }, 381s # { 381s # "error": "value is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/minimum" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 71 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 72 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 73 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "length is greater than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/maxLength" 381s # }, 381s # { 381s # "error": "length is less than 4", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/minLength" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "length is greater than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/maxLength" 381s # }, 381s # { 381s # "error": "length is less than 4", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/minLength" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 74 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 75 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 76 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0" 381s # }, 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0" 381s # }, 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 77 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 78 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 79 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 80 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/anyOf/0/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/properties" 381s # }, 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/anyOf/1/properties/foo/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/properties" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/anyOf/0/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/properties" 381s # }, 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/anyOf/1/properties/foo/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/properties" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 81 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 82 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 83 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 84 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/anyOf/0/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/anyOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/anyOf/0/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/anyOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 85 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 86 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 87 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 88 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 89 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 90 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 91 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 92 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 93 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 94 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 95 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 96 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 97 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 98 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 99 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 100 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 101 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 102 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 103 - const.json: "const validation" - "same value is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 104 - const.json: "const validation" - "another value is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 105 - const.json: "const validation" - "another type is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 106 - const.json: "const with object" - "same object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 107 - const.json: "const with object" - "same object with different property order is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 108 - const.json: "const with object" - "another object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 109 - const.json: "const with object" - "another type is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 110 - const.json: "const with array" - "same array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 111 - const.json: "const with array" - "another array item is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs object)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs object)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 112 - const.json: "const with array" - "array with additional items is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 113 - const.json: "const with null" - "null is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 114 - const.json: "const with null" - "not null is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 115 - const.json: "const with false does not match 0" - "false is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 116 - const.json: "const with false does not match 0" - "integer zero is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 117 - const.json: "const with false does not match 0" - "float zero is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 118 - const.json: "const with true does not match 1" - "true is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 119 - const.json: "const with true does not match 1" - "integer one is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 120 - const.json: "const with true does not match 1" - "float one is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 121 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 122 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 123 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 124 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 125 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 126 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 127 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 128 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 129 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 130 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 131 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 132 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 133 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 134 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 135 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 136 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 137 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 138 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 139 - const.json: "const with 1 does not match true" - "true is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 140 - const.json: "const with 1 does not match true" - "integer one is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 141 - const.json: "const with 1 does not match true" - "float one is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 142 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 143 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 144 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 145 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 146 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 147 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 148 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 149 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 150 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 151 - const.json: "nul characters in strings" - "match string with nul" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 152 - const.json: "nul characters in strings" - "do not match string lacking nul" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/const" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 153 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 154 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 155 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 156 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than 5", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/contains/minimum" 381s # }, 381s # { 381s # "error": "value is less than 5", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/contains/minimum" 381s # }, 381s # { 381s # "error": "value is less than 5", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/contains/minimum" 381s # }, 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than 5", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/contains/minimum" 381s # }, 381s # { 381s # "error": "value is less than 5", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/contains/minimum" 381s # }, 381s # { 381s # "error": "value is less than 5", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/contains/minimum" 381s # }, 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 157 - contains.json: "contains keyword validation" - "empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 158 - contains.json: "contains keyword validation" - "not array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 159 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 160 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 161 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/contains/const" 381s # }, 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/contains/const" 381s # }, 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/contains/const" 381s # }, 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/3", 381s # "keywordLocation": "/contains/const" 381s # }, 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/contains/const" 381s # }, 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/contains/const" 381s # }, 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/contains/const" 381s # }, 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/3", 381s # "keywordLocation": "/contains/const" 381s # }, 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 162 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 163 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 164 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/contains" 381s # }, 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/contains" 381s # }, 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 165 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 166 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 167 - contains.json: "items + contains" - "matches items, does not match contains" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/contains/multipleOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/contains/multipleOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/contains/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/contains/multipleOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/contains/multipleOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/contains/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 168 - contains.json: "items + contains" - "does not match items, matches contains" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/multipleOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/items/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 169 - contains.json: "items + contains" - "matches both items and contains" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 170 - contains.json: "items + contains" - "matches neither items nor contains" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/multipleOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # }, 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/contains/multipleOf" 381s # }, 381s # { 381s # "error": "value is not a multiple of 3", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/contains/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 171 - contains.json: "contains with false if subschema" - "any non-empty array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 172 - contains.json: "contains with false if subschema" - "empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is not valid against any item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contains" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 173 - contains.json: "contains with null instance elements" - "allows null items" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 174 - default.json: "invalid type for default" - "valid when property is specified" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 175 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 176 - default.json: "invalid string value for default" - "valid when property is specified" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 177 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s 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)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s 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)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 3", 381s # "instanceLocation": "/alpha", 381s # "keywordLocation": "/properties/alpha/maximum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 3", 381s # "instanceLocation": "/alpha", 381s # "keywordLocation": "/properties/alpha/maximum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s 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" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 181 - definitions.json: "validate definition against metaschema" - "valid definition schema" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 182 - definitions.json: "validate definition against metaschema" - "invalid definition schema" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/simpleTypes/enum", 381s # "error": "value does not match", 381s # "instanceLocation": "/definitions/foo/type", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf/1/type", 381s # "error": "got integer, not array", 381s # "instanceLocation": "/definitions/foo/type", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf", 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "/definitions/foo/type", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/definitions/foo", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/definitions/additionalProperties", 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "/definitions", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/simpleTypes/enum", 381s # "error": "value does not match", 381s # "instanceLocation": "/definitions/foo/type", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf/1/type", 381s # "error": "got integer, not array", 381s # "instanceLocation": "/definitions/foo/type", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf", 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "/definitions/foo/type", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/definitions/foo", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/definitions/additionalProperties", 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "/definitions", 381s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 183 - dependencies.json: "dependencies" - "neither" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 184 - dependencies.json: "dependencies" - "nondependant" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 185 - dependencies.json: "dependencies" - "with dependency" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 186 - dependencies.json: "dependencies" - "missing dependency" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 187 - dependencies.json: "dependencies" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 188 - dependencies.json: "dependencies" - "ignores strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 189 - dependencies.json: "dependencies" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 190 - dependencies.json: "dependencies with empty array" - "empty object" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 191 - dependencies.json: "dependencies with empty array" - "object with one property" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 192 - dependencies.json: "dependencies with empty array" - "non-object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 193 - dependencies.json: "multiple dependencies" - "neither" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 194 - dependencies.json: "multiple dependencies" - "nondependants" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 195 - dependencies.json: "multiple dependencies" - "with dependencies" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 196 - dependencies.json: "multiple dependencies" - "missing dependency" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/quux" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/quux" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 197 - dependencies.json: "multiple dependencies" - "missing other dependency" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/quux" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/quux" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 198 - dependencies.json: "multiple dependencies" - "missing both dependencies" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: foo, bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/quux" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: foo, bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/quux" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 199 - dependencies.json: "multiple dependencies subschema" - "valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 200 - dependencies.json: "multiple dependencies subschema" - "no dependency" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 201 - dependencies.json: "multiple dependencies subschema" - "wrong type" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/dependencies/bar/properties/foo/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar/properties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/dependencies/bar/properties/foo/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar/properties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 202 - dependencies.json: "multiple dependencies subschema" - "wrong type other" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/dependencies/bar/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar/properties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/dependencies/bar/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar/properties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 203 - dependencies.json: "multiple dependencies subschema" - "wrong type both" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/dependencies/bar/properties/bar/type" 381s # }, 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/dependencies/bar/properties/foo/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar/properties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/dependencies/bar/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar/properties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 204 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema true is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 205 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema false is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 206 - dependencies.json: "dependencies with boolean subschemas" - "object with both properties is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/bar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 207 - dependencies.json: "dependencies with boolean subschemas" - "empty object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 208 - dependencies.json: "dependencies with escaped characters" - "valid object 1" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 209 - dependencies.json: "dependencies with escaped characters" - "valid object 2" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 210 - dependencies.json: "dependencies with escaped characters" - "valid object 3" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 211 - dependencies.json: "dependencies with escaped characters" - "invalid object 1" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo\rbar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo\nbar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo\rbar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo\nbar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 212 - dependencies.json: "dependencies with escaped characters" - "invalid object 2" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object has fewer than 4 properties", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object has fewer than 4 properties", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 213 - dependencies.json: "dependencies with escaped characters" - "invalid object 3" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo\"bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo'bar/required" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo\"bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo'bar/required" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 214 - dependencies.json: "dependencies with escaped characters" - "invalid object 4" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo'bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo\"bar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo'bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo\"bar" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 215 - dependencies.json: "dependent subschema incompatible with root" - "matches root" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/dependencies/foo/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo/additionalProperties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/dependencies/foo/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo/additionalProperties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 216 - dependencies.json: "dependent subschema incompatible with root" - "matches dependency" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 217 - dependencies.json: "dependent subschema incompatible with root" - "matches both" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/dependencies/foo/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo/additionalProperties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/dependencies/foo/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies/foo/additionalProperties" 381s # }, 381s # { 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/dependencies" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 218 - dependencies.json: "dependent subschema incompatible with root" - "no dependency" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 219 - enum.json: "simple enum validation" - "one of the enum is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 220 - enum.json: "simple enum validation" - "something else is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 221 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 222 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 223 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 381s # result: { 381s # "errors": [ 381s # { 381s # "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)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "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)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 224 - enum.json: "heterogeneous enum validation" - "valid object matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 225 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 226 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 227 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 228 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 229 - enum.json: "enums in properties" - "both properties are valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 230 - enum.json: "enums in properties" - "wrong foo value" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/enum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/enum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 231 - enum.json: "enums in properties" - "wrong bar value" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar/enum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar/enum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 232 - enum.json: "enums in properties" - "missing optional property is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 233 - enum.json: "enums in properties" - "missing required property is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 234 - enum.json: "enums in properties" - "missing all properties is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 235 - enum.json: "enum with escaped characters" - "member 1 is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 236 - enum.json: "enum with escaped characters" - "member 2 is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 237 - enum.json: "enum with escaped characters" - "another string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 238 - enum.json: "enum with false does not match 0" - "false is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 239 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 240 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 241 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 242 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 243 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 244 - enum.json: "enum with true does not match 1" - "true is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 245 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 246 - enum.json: "enum with true does not match 1" - "float one is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 247 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 248 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 249 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 250 - enum.json: "enum with 0 does not match false" - "false is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 251 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 252 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 253 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 254 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 255 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 256 - enum.json: "enum with 1 does not match true" - "true is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 257 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 258 - enum.json: "enum with 1 does not match true" - "float one is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 259 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 260 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 261 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 262 - enum.json: "nul characters in strings" - "match string with nul" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 263 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 264 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 265 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than or equal to 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMaximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than or equal to 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMaximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 266 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than or equal to 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMaximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than or equal to 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMaximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 267 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 268 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 269 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than or equal to 1.1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMinimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than or equal to 1.1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMinimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 270 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than or equal to 1.1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMinimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than or equal to 1.1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMinimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 271 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 272 - format.json: "email format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 273 - format.json: "email format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 274 - format.json: "email format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 275 - format.json: "email format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 276 - format.json: "email format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 277 - format.json: "email format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 278 - format.json: "idn-email format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 279 - format.json: "idn-email format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 280 - format.json: "idn-email format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 281 - format.json: "idn-email format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 282 - format.json: "idn-email format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 283 - format.json: "idn-email format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 284 - format.json: "regex format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 285 - format.json: "regex format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 286 - format.json: "regex format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 287 - format.json: "regex format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 288 - format.json: "regex format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 289 - format.json: "regex format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 290 - format.json: "ipv4 format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 291 - format.json: "ipv4 format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 292 - format.json: "ipv4 format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 293 - format.json: "ipv4 format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 294 - format.json: "ipv4 format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 295 - format.json: "ipv4 format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 296 - format.json: "ipv6 format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 297 - format.json: "ipv6 format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 298 - format.json: "ipv6 format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 299 - format.json: "ipv6 format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 300 - format.json: "ipv6 format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 301 - format.json: "ipv6 format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 302 - format.json: "idn-hostname format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 303 - format.json: "idn-hostname format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 304 - format.json: "idn-hostname format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 305 - format.json: "idn-hostname format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 306 - format.json: "idn-hostname format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 307 - format.json: "idn-hostname format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 308 - format.json: "hostname format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 309 - format.json: "hostname format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 310 - format.json: "hostname format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 311 - format.json: "hostname format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 312 - format.json: "hostname format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 313 - format.json: "hostname format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 314 - format.json: "date format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 315 - format.json: "date format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 316 - format.json: "date format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 317 - format.json: "date format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 318 - format.json: "date format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 319 - format.json: "date format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 320 - format.json: "date-time format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 321 - format.json: "date-time format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 322 - format.json: "date-time format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 323 - format.json: "date-time format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 324 - format.json: "date-time format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 325 - format.json: "date-time format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 326 - format.json: "time format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 327 - format.json: "time format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 328 - format.json: "time format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 329 - format.json: "time format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 330 - format.json: "time format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 331 - format.json: "time format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 332 - format.json: "json-pointer format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 333 - format.json: "json-pointer format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 334 - format.json: "json-pointer format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 335 - format.json: "json-pointer format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 336 - format.json: "json-pointer format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 337 - format.json: "json-pointer format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 338 - format.json: "relative-json-pointer format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 339 - format.json: "relative-json-pointer format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 340 - format.json: "relative-json-pointer format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 341 - format.json: "relative-json-pointer format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 342 - format.json: "relative-json-pointer format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 343 - format.json: "relative-json-pointer format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 344 - format.json: "iri format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 345 - format.json: "iri format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 346 - format.json: "iri format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 347 - format.json: "iri format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 348 - format.json: "iri format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 349 - format.json: "iri format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 350 - format.json: "iri-reference format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 351 - format.json: "iri-reference format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 352 - format.json: "iri-reference format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 353 - format.json: "iri-reference format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 354 - format.json: "iri-reference format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 355 - format.json: "iri-reference format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 356 - format.json: "uri format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 357 - format.json: "uri format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 358 - format.json: "uri format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 359 - format.json: "uri format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 360 - format.json: "uri format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 361 - format.json: "uri format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 362 - format.json: "uri-reference format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 363 - format.json: "uri-reference format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 364 - format.json: "uri-reference format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 365 - format.json: "uri-reference format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 366 - format.json: "uri-reference format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 367 - format.json: "uri-reference format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 368 - format.json: "uri-template format" - "all string formats ignore integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 369 - format.json: "uri-template format" - "all string formats ignore floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 370 - format.json: "uri-template format" - "all string formats ignore objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 371 - format.json: "uri-template format" - "all string formats ignore arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 372 - format.json: "uri-template format" - "all string formats ignore booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 373 - format.json: "uri-template format" - "all string formats ignore nulls" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 374 - if-then-else.json: "ignore if without then or else" - "valid when valid against lone if" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 375 - if-then-else.json: "ignore if without then or else" - "valid when invalid against lone if" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 376 - if-then-else.json: "ignore then without if" - "valid when valid against lone then" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 377 - if-then-else.json: "ignore then without if" - "valid when invalid against lone then" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 378 - if-then-else.json: "ignore else without if" - "valid when valid against lone else" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 379 - if-then-else.json: "ignore else without if" - "valid when invalid against lone else" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 380 - if-then-else.json: "if and then without else" - "valid through then" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 381 - if-then-else.json: "if and then without else" - "invalid through then" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than -10", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then/minimum" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than -10", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then/minimum" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 382 - if-then-else.json: "if and then without else" - "valid when if test fails" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 383 - if-then-else.json: "if and else without then" - "valid when if test passes" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 384 - if-then-else.json: "if and else without then" - "valid through else" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 385 - if-then-else.json: "if and else without then" - "invalid through else" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 386 - if-then-else.json: "validate against correct branch, then vs else" - "valid through then" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 387 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through then" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than -10", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then/minimum" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than -10", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then/minimum" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 388 - if-then-else.json: "validate against correct branch, then vs else" - "valid through else" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 389 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through else" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/multipleOf" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 390 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through then" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 391 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through else" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 392 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (valid)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 393 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (invalid)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 394 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (invalid)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 395 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (valid)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 396 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "yes redirects to then and passes" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 397 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "other redirects to else and passes" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 398 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "no redirects to then and fails" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/then" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 399 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "invalid redirects to else and fails" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s 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" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s 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" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/int/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/definitions/int/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/additionalProperties" 381s # }, 381s # { 381s # "error": "subschemas 0, 1 are not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/int/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/properties" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 402 - items.json: "a schema given for items" - "valid items" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 403 - items.json: "a schema given for items" - "wrong type of items" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 404 - items.json: "a schema given for items" - "ignores non-arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 405 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 406 - items.json: "an array of schemas for items" - "correct types" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 407 - items.json: "an array of schemas for items" - "wrong types" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/0/type" 381s # }, 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/1/type" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/0/type" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 408 - items.json: "an array of schemas for items" - "incomplete array of items" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 409 - items.json: "an array of schemas for items" - "array with additional items" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 410 - items.json: "an array of schemas for items" - "empty array" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 411 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 412 - items.json: "items with boolean schema (true)" - "any array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 413 - items.json: "items with boolean schema (true)" - "empty array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 414 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "item not permitted", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items" 381s # }, 381s # { 381s # "error": "item not permitted", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items" 381s # }, 381s # { 381s # "error": "item not permitted", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "item not permitted", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 415 - items.json: "items with boolean schema (false)" - "empty array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 416 - items.json: "items with boolean schemas" - "array with one item is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 417 - items.json: "items with boolean schemas" - "array with two items is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "item not permitted", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/1" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "item not permitted", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/1" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 418 - items.json: "items with boolean schemas" - "empty array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 419 - items.json: "items and subitems" - "valid items" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 420 - items.json: "items and subitems" - "too many items" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/3", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/3", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 421 - items.json: "items and subitems" - "too many sub-items" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/0/2", 381s # "keywordLocation": "/items/0/$ref/additionalItems" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/0/$ref/additionalItems" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/0/2", 381s # "keywordLocation": "/items/0/$ref/additionalItems" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/0/$ref/additionalItems" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 422 - items.json: "items and subitems" - "wrong item" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/item/type", 381s # "error": "got object, not array", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/0/$ref/type" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/item/type", 381s # "error": "got object, not array", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/0/$ref/type" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 423 - items.json: "items and subitems" - "wrong sub-item" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "/0/0", 381s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/definitions/item/items", 381s # "error": "not all items are valid", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/0/$ref/items" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "/0/0", 381s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/definitions/item/items", 381s # "error": "not all items are valid", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/0/$ref/items" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 424 - items.json: "items and subitems" - "fewer items is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 425 - items.json: "nested items" - "valid nested array" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 426 - items.json: "nested items" - "nested array with invalid type" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/0/0/0/0", 381s # "keywordLocation": "/items/items/items/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0/0/0", 381s # "keywordLocation": "/items/items/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0/0", 381s # "keywordLocation": "/items/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/0/0/0/0", 381s # "keywordLocation": "/items/items/items/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0/0/0", 381s # "keywordLocation": "/items/items/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0/0", 381s # "keywordLocation": "/items/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 427 - items.json: "nested items" - "not deep enough" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not array", 381s # "instanceLocation": "/0/0/0", 381s # "keywordLocation": "/items/items/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0/0", 381s # "keywordLocation": "/items/items/items" 381s # }, 381s # { 381s # "error": "got integer, not array", 381s # "instanceLocation": "/0/1/0", 381s # "keywordLocation": "/items/items/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0/1", 381s # "keywordLocation": "/items/items/items" 381s # }, 381s # { 381s # "error": "got integer, not array", 381s # "instanceLocation": "/0/2/0", 381s # "keywordLocation": "/items/items/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0/2", 381s # "keywordLocation": "/items/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/items" 381s # }, 381s # { 381s # "error": "got integer, not array", 381s # "instanceLocation": "/1/0/0", 381s # "keywordLocation": "/items/items/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/1/0", 381s # "keywordLocation": "/items/items/items" 381s # }, 381s # { 381s # "error": "got integer, not array", 381s # "instanceLocation": "/1/1/0", 381s # "keywordLocation": "/items/items/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/1/1", 381s # "keywordLocation": "/items/items/items" 381s # }, 381s # { 381s # "error": "got integer, not array", 381s # "instanceLocation": "/1/2/0", 381s # "keywordLocation": "/items/items/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/1/2", 381s # "keywordLocation": "/items/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not array", 381s # "instanceLocation": "/0/0/0", 381s # "keywordLocation": "/items/items/items/type" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0/0", 381s # "keywordLocation": "/items/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/items" 381s # }, 381s # { 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 428 - items.json: "single-form items with null instance elements" - "allows null elements" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 429 - items.json: "array-form items with null instance elements" - "allows null elements" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 430 - maxItems.json: "maxItems validation" - "shorter is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 431 - maxItems.json: "maxItems validation" - "exact length is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 432 - maxItems.json: "maxItems validation" - "too long is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "array has more than 2 items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "array has more than 2 items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 433 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 434 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 435 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "array has more than 2 items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "array has more than 2 items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 436 - maxLength.json: "maxLength validation" - "shorter is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 437 - maxLength.json: "maxLength validation" - "exact length is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 438 - maxLength.json: "maxLength validation" - "too long is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "length is greater than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "length is greater than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 439 - maxLength.json: "maxLength validation" - "ignores non-strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 440 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 441 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 442 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "length is greater than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "length is greater than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 443 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 444 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 445 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object has more than 2 properties", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object has more than 2 properties", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 446 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 447 - maxProperties.json: "maxProperties validation" - "ignores strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 448 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 449 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 450 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object has more than 2 properties", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object has more than 2 properties", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 451 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 452 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object has more than 0 property", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object has more than 0 property", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maxProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 453 - maximum.json: "maximum validation" - "below the maximum is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 454 - maximum.json: "maximum validation" - "boundary point is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 455 - maximum.json: "maximum validation" - "above the maximum is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 3", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 456 - maximum.json: "maximum validation" - "ignores non-numbers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 457 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 458 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 459 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 460 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 300", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 300", 381s # "instanceLocation": "", 381s # "keywordLocation": "/maximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 461 - minItems.json: "minItems validation" - "longer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 462 - minItems.json: "minItems validation" - "exact length is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 463 - minItems.json: "minItems validation" - "too short is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "array has fewer than 1 item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "array has fewer than 1 item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 464 - minItems.json: "minItems validation" - "ignores non-arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 465 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 466 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "array has fewer than 1 item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "array has fewer than 1 item", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 467 - minLength.json: "minLength validation" - "longer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 468 - minLength.json: "minLength validation" - "exact length is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 469 - minLength.json: "minLength validation" - "too short is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "length is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "length is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 470 - minLength.json: "minLength validation" - "ignores non-strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 471 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "length is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "length is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 472 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 473 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "length is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "length is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minLength" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 474 - minProperties.json: "minProperties validation" - "longer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 475 - minProperties.json: "minProperties validation" - "exact length is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 476 - minProperties.json: "minProperties validation" - "too short is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object has fewer than 1 property", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object has fewer than 1 property", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 477 - minProperties.json: "minProperties validation" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 478 - minProperties.json: "minProperties validation" - "ignores strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 479 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 480 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 481 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object has fewer than 1 property", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object has fewer than 1 property", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 482 - minimum.json: "minimum validation" - "above the minimum is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 483 - minimum.json: "minimum validation" - "boundary point is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 484 - minimum.json: "minimum validation" - "below the minimum is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than 1.1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than 1.1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 485 - minimum.json: "minimum validation" - "ignores non-numbers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 486 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 487 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 488 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 489 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 490 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than -2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than -2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 491 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than -2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than -2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/minimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 492 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 493 - multipleOf.json: "by int" - "int by int" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 494 - multipleOf.json: "by int" - "int by int fail" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/multipleOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/multipleOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 495 - multipleOf.json: "by int" - "ignores non-numbers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 496 - multipleOf.json: "by number" - "zero is multiple of anything" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 497 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 498 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 1.5", 381s # "instanceLocation": "", 381s # "keywordLocation": "/multipleOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 1.5", 381s # "instanceLocation": "", 381s # "keywordLocation": "/multipleOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 499 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 500 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 0.0001", 381s # "instanceLocation": "", 381s # "keywordLocation": "/multipleOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 0.0001", 381s # "instanceLocation": "", 381s # "keywordLocation": "/multipleOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 501 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 0.123456789", 381s # "instanceLocation": "", 381s # "keywordLocation": "/multipleOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is not a multiple of 0.123456789", 381s # "instanceLocation": "", 381s # "keywordLocation": "/multipleOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 502 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 503 - not.json: "not" - "allowed" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 504 - not.json: "not" - "disallowed" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 505 - not.json: "not multiple types" - "valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 506 - not.json: "not multiple types" - "mismatch" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 507 - not.json: "not multiple types" - "other mismatch" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 508 - not.json: "not more complex schema" - "match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 509 - not.json: "not more complex schema" - "other match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 510 - not.json: "not more complex schema" - "mismatch" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 511 - not.json: "forbidden property" - "property present" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/not" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/not" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 512 - not.json: "forbidden property" - "property absent" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 513 - not.json: "forbid everything with empty schema" - "number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 514 - not.json: "forbid everything with empty schema" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 515 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 516 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 517 - not.json: "forbid everything with empty schema" - "null is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 518 - not.json: "forbid everything with empty schema" - "object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 519 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 520 - not.json: "forbid everything with empty schema" - "array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 521 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 522 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 523 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 524 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 525 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 526 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 527 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 528 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 529 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 530 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/not" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 531 - not.json: "allow everything with boolean schema false" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 532 - not.json: "allow everything with boolean schema false" - "string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 533 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 534 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 535 - not.json: "allow everything with boolean schema false" - "null is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 536 - not.json: "allow everything with boolean schema false" - "object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 537 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 538 - not.json: "allow everything with boolean schema false" - "array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 539 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 540 - not.json: "double negation" - "any value is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 541 - oneOf.json: "oneOf" - "first oneOf valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 542 - oneOf.json: "oneOf" - "second oneOf valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 543 - oneOf.json: "oneOf" - "both oneOf valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 544 - oneOf.json: "oneOf" - "neither oneOf valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/type" 381s # }, 381s # { 381s # "error": "value is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1/minimum" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/type" 381s # }, 381s # { 381s # "error": "value is less than 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1/minimum" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 545 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # }, 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 546 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 547 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 548 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1, 2", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 549 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 550 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 551 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0" 381s # }, 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1" 381s # }, 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/2" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0" 381s # }, 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1" 381s # }, 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/2" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 552 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 553 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 554 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 555 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/oneOf/0/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/properties" 381s # }, 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/oneOf/1/properties/foo/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1/properties" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/oneOf/0/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/properties" 381s # }, 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/oneOf/1/properties/foo/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1/properties" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 556 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 557 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 558 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/required" 381s # }, 381s # { 381s # "error": "object is missing properties: foo, baz", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1/required" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/required" 381s # }, 381s # { 381s # "error": "object is missing properties: foo, baz", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1/required" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 559 - oneOf.json: "oneOf with required" - "first valid - valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 560 - oneOf.json: "oneOf with required" - "second valid - valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 561 - oneOf.json: "oneOf with required" - "both valid - invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 562 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 563 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 564 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "multiple subschemas are valid: 0, 1", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 565 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/required" 381s # }, 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1/required" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/required" 381s # }, 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/1/required" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 566 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 567 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/oneOf/0/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/oneOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/oneOf/0/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf/0/oneOf" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/oneOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 568 - pattern.json: "pattern validation" - "a matching pattern is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 569 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 570 - pattern.json: "pattern validation" - "ignores booleans" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 571 - pattern.json: "pattern validation" - "ignores integers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 572 - pattern.json: "pattern validation" - "ignores floats" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 573 - pattern.json: "pattern validation" - "ignores objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 574 - pattern.json: "pattern validation" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 575 - pattern.json: "pattern validation" - "ignores null" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 576 - pattern.json: "pattern is not anchored" - "matches a substring" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 577 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 578 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 579 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/patternProperties/f.*o/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/patternProperties/f.*o/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 580 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/patternProperties/f.*o/type" 381s # }, 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foooooo", 381s # "keywordLocation": "/patternProperties/f.*o/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/patternProperties/f.*o/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 581 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 582 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 583 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 584 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 585 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 586 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 587 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/a", 381s # "keywordLocation": "/patternProperties/a*/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/a", 381s # "keywordLocation": "/patternProperties/a*/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 588 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 20", 381s # "instanceLocation": "/aaaa", 381s # "keywordLocation": "/patternProperties/aaa*/maximum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than 20", 381s # "instanceLocation": "/aaaa", 381s # "keywordLocation": "/patternProperties/aaa*/maximum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 589 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/aaa", 381s # "keywordLocation": "/patternProperties/a*/type" 381s # }, 381s # { 381s # "error": "value is greater than 20", 381s # "instanceLocation": "/aaaa", 381s # "keywordLocation": "/patternProperties/aaa*/maximum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/aaa", 381s # "keywordLocation": "/patternProperties/a*/type" 381s # }, 381s # { 381s # "error": "value is greater than 20", 381s # "instanceLocation": "/aaaa", 381s # "keywordLocation": "/patternProperties/aaa*/maximum" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 590 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 591 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not boolean", 381s # "instanceLocation": "/a31b", 381s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not boolean", 381s # "instanceLocation": "/a31b", 381s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 592 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 593 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/a_X_3", 381s # "keywordLocation": "/patternProperties/X_/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/a_X_3", 381s # "keywordLocation": "/patternProperties/X_/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 594 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 595 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/patternProperties/b.*" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/patternProperties/b.*" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 596 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/patternProperties/b.*" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/patternProperties/b.*" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 597 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/foobar", 381s # "keywordLocation": "/patternProperties/b.*" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/foobar", 381s # "keywordLocation": "/patternProperties/b.*" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 598 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 599 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 600 - properties.json: "object properties validation" - "both properties present and valid is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 601 - properties.json: "object properties validation" - "one property invalid is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 602 - properties.json: "object properties validation" - "both properties invalid is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar/type" 381s # }, 381s # { 381s # "error": "got array, not integer", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 603 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 604 - properties.json: "object properties validation" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 605 - properties.json: "object properties validation" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 606 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 607 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "array has more than 3 items", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/maxItems" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "array has more than 3 items", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/maxItems" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 608 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "array has fewer than 2 items", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/patternProperties/f.o/minItems" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "array has fewer than 2 items", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/patternProperties/f.o/minItems" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 609 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 610 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "array has fewer than 2 items", 381s # "instanceLocation": "/fxo", 381s # "keywordLocation": "/patternProperties/f.o/minItems" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "array has fewer than 2 items", 381s # "instanceLocation": "/fxo", 381s # "keywordLocation": "/patternProperties/f.o/minItems" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 611 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 612 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 613 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/quux", 381s # "keywordLocation": "/additionalProperties/type" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/quux", 381s # "keywordLocation": "/additionalProperties/type" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 614 - properties.json: "properties with boolean schema" - "no property present is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 615 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 616 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 617 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 618 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 619 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/foo\tbar", 381s # "keywordLocation": "/properties/foo\tbar/type" 381s # }, 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/foo\nbar", 381s # "keywordLocation": "/properties/foo\nbar/type" 381s # }, 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/foo\fbar", 381s # "keywordLocation": "/properties/foo\fbar/type" 381s # }, 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/foo\rbar", 381s # "keywordLocation": "/properties/foo\rbar/type" 381s # }, 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/foo\"bar", 381s # "keywordLocation": "/properties/foo\"bar/type" 381s # }, 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/foo\\bar", 381s # "keywordLocation": "/properties/foo\\bar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/foo\tbar", 381s # "keywordLocation": "/properties/foo\tbar/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 620 - properties.json: "properties with null valued instance properties" - "allows null values" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 621 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 622 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 623 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 624 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/__proto__", 381s # "keywordLocation": "/properties/__proto__/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "/__proto__", 381s # "keywordLocation": "/properties/__proto__/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 625 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/toString/length", 381s # "keywordLocation": "/properties/toString/properties/length/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/toString", 381s # "keywordLocation": "/properties/toString/properties" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/toString/length", 381s # "keywordLocation": "/properties/toString/properties/length/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/toString", 381s # "keywordLocation": "/properties/toString/properties" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 626 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not number", 381s # "instanceLocation": "/constructor", 381s # "keywordLocation": "/properties/constructor/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not number", 381s # "instanceLocation": "/constructor", 381s # "keywordLocation": "/properties/constructor/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 627 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 628 - propertyNames.json: "propertyNames validation" - "all property names valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 629 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "length is greater than 3", 381s # "instanceLocation": "/foobar", 381s # "keywordLocation": "/propertyNames/maxLength" 381s # }, 381s # { 381s # "error": "not all property names are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/propertyNames" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "length is greater than 3", 381s # "instanceLocation": "/foobar", 381s # "keywordLocation": "/propertyNames/maxLength" 381s # }, 381s # { 381s # "error": "not all property names are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/propertyNames" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 630 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 631 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 632 - propertyNames.json: "propertyNames validation" - "ignores strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 633 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 634 - propertyNames.json: "propertyNames validation with pattern" - "matching property names valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 635 - propertyNames.json: "propertyNames validation with pattern" - "non-matching property name is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "/aaA", 381s # "keywordLocation": "/propertyNames/pattern" 381s # }, 381s # { 381s # "error": "not all property names are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/propertyNames" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "/aaA", 381s # "keywordLocation": "/propertyNames/pattern" 381s # }, 381s # { 381s # "error": "not all property names are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/propertyNames" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 636 - propertyNames.json: "propertyNames validation with pattern" - "object without properties is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 637 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 638 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 639 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/propertyNames" 381s # }, 381s # { 381s # "error": "not all property names are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/propertyNames" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "subschema is false", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/propertyNames" 381s # }, 381s # { 381s # "error": "not all property names are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/propertyNames" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 640 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 641 - ref.json: "root pointer ref" - "match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 642 - ref.json: "root pointer ref" - "recursive match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 643 - ref.json: "root pointer ref" - "mismatch" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 644 - ref.json: "root pointer ref" - "recursive mismatch" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/additionalProperties", 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/foo/bar", 381s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/additionalProperties", 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/additionalProperties", 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/foo/bar", 381s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/additionalProperties", 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 645 - ref.json: "relative pointer ref to object" - "match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 646 - ref.json: "relative pointer ref to object" - "mismatch" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/properties/foo/type", 381s # "error": "got boolean, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/properties/foo/type", 381s # "error": "got boolean, not integer", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/properties/bar/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 647 - ref.json: "relative pointer ref to array" - "match array" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 648 - ref.json: "relative pointer ref to array" - "mismatch array" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/items/0/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/1/$ref/type" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/items/0/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/1", 381s # "keywordLocation": "/items/1/$ref/type" 381s # }, 381s # { 381s # "error": "not all items are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 649 - ref.json: "escaped pointer ref" - "slash invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/slash", 381s # "keywordLocation": "/properties/slash/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/slash", 381s # "keywordLocation": "/properties/slash/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 650 - ref.json: "escaped pointer ref" - "tilde invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/tilde", 381s # "keywordLocation": "/properties/tilde/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/tilde", 381s # "keywordLocation": "/properties/tilde/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 651 - ref.json: "escaped pointer ref" - "percent invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/percent", 381s # "keywordLocation": "/properties/percent/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/percent", 381s # "keywordLocation": "/properties/percent/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 652 - ref.json: "escaped pointer ref" - "slash valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 653 - ref.json: "escaped pointer ref" - "tilde valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 654 - ref.json: "escaped pointer ref" - "percent valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 655 - ref.json: "nested refs" - "nested ref valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 656 - ref.json: "nested refs" - "nested ref invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/a/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/a/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 657 - ref.json: "ref overrides any sibling keywords" - "ref valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 658 - ref.json: "ref overrides any sibling keywords" - "ref valid, maxItems ignored" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 659 - ref.json: "ref overrides any sibling keywords" - "ref invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/reffed/type", 381s # "error": "got string, not array", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/reffed/type", 381s # "error": "got string, not array", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 660 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data does not validate" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 661 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data validates" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 662 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 663 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeInteger/minimum", 381s # "error": "value is less than 0", 381s # "instanceLocation": "/minLength", 381s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeIntegerDefault0/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "/minLength", 381s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeInteger/minimum", 381s # "error": "value is less than 0", 381s # "instanceLocation": "/minLength", 381s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeIntegerDefault0/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "/minLength", 381s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 664 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 665 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/$ref", 381s # "keywordLocation": "/properties/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not string", 381s # "instanceLocation": "/$ref", 381s # "keywordLocation": "/properties/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 666 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 667 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/is-string/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/$ref", 381s # "keywordLocation": "/properties/$ref/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/is-string/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/$ref", 381s # "keywordLocation": "/properties/$ref/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 668 - ref.json: "$ref to boolean schema true" - "any value is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 669 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/bool", 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/bool", 381s # "error": "subschema is false", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 670 - ref.json: "Recursive references between schemas" - "valid tree" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 671 - ref.json: "Recursive references between schemas" - "invalid tree" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/nodes/0/subtree/nodes/0", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/nodes/0/subtree/nodes", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/nodes/0/subtree", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/nodes/0", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/nodes", 381s # "keywordLocation": "/properties/nodes/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/nodes/0/subtree/nodes/0", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/nodes/0/subtree/nodes", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/nodes/0/subtree", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/nodes/0", 381s # "keywordLocation": "/properties/nodes/items/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/nodes", 381s # "keywordLocation": "/properties/nodes/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 672 - ref.json: "refs with quote" - "object with numbers is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 673 - ref.json: "refs with quote" - "object with strings is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "/foo\"bar", 381s # "keywordLocation": "/properties/foo\"bar/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "/foo\"bar", 381s # "keywordLocation": "/properties/foo\"bar/$ref/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 674 - ref.json: "Location-independent identifier" - "match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 675 - ref.json: "Location-independent identifier" - "mismatch" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/A/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/A/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 676 - ref.json: "Reference an anchor with a non-relative URI" - "match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 677 - ref.json: "Reference an anchor with a non-relative URI" - "mismatch" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 678 - ref.json: "Location-independent identifier with base URI change in subschema" - "match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 679 - ref.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s 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" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s 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" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/enum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 682 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 683 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo/bar", 381s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo/bar", 381s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 684 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 685 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 686 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo/bar", 381s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo/bar", 381s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 687 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 688 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 689 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 690 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 691 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 692 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 381s # "error": "value is less than 30", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/minimum" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 381s # "error": "value is less than 30", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/minimum" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 693 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 694 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 695 - ref.json: "URN base URI with NSS" - "a string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 696 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 697 - ref.json: "URN base URI with r-component" - "a string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 698 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 699 - ref.json: "URN base URI with q-component" - "a string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 700 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 701 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 702 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 703 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 704 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/foo", 381s # "keywordLocation": "/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 705 - ref.json: "ref to if" - "a non-integer is invalid due to the $ref" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 706 - ref.json: "ref to if" - "an integer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 707 - ref.json: "ref to then" - "a non-integer is invalid due to the $ref" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 708 - ref.json: "ref to then" - "an integer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 709 - ref.json: "ref to else" - "a non-integer is invalid due to the $ref" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 710 - ref.json: "ref to else" - "an integer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 711 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 712 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 713 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 714 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 715 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 716 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 717 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 718 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions//definitions//type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions//definitions//type", 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/type" 381s # }, 381s # { 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 719 - refRemote.json: "remote ref" - "remote ref valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 720 - refRemote.json: "remote ref" - "remote ref invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 721 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 722 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 723 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 724 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 725 - refRemote.json: "base URI change" - "base URI change ref valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 726 - refRemote.json: "base URI change" - "base URI change ref invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/0/0", 381s # "keywordLocation": "/items/items/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/0/0", 381s # "keywordLocation": "/items/items/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/0", 381s # "keywordLocation": "/items/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/items" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 727 - refRemote.json: "base URI change - change folder" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 728 - refRemote.json: "base URI change - change folder" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/list/0", 381s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/list", 381s # "keywordLocation": "/properties/list/$ref/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/list/0", 381s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/list", 381s # "keywordLocation": "/properties/list/$ref/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 729 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 730 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/list/0", 381s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/list", 381s # "keywordLocation": "/properties/list/$ref/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "/list/0", 381s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 381s # "error": "subschema is not valid against all items", 381s # "instanceLocation": "/list", 381s # "keywordLocation": "/properties/list/$ref/items" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 731 - refRemote.json: "root ref in remote ref" - "string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 732 - refRemote.json: "root ref in remote ref" - "null is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 733 - refRemote.json: "root ref in remote ref" - "object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 381s # "error": "got object, not null", 381s # "instanceLocation": "/name", 381s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 381s # "error": "got object, not string", 381s # "instanceLocation": "/name", 381s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "/name", 381s # "keywordLocation": "/properties/name/$ref/anyOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 381s # "error": "got object, not null", 381s # "instanceLocation": "/name", 381s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 381s # "error": "got object, not string", 381s # "instanceLocation": "/name", 381s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "/name", 381s # "keywordLocation": "/properties/name/$ref/anyOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 734 - refRemote.json: "remote ref with ref to definitions" - "invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/bar", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/0/$ref/allOf" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 381s # "error": "subschema 0 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 735 - refRemote.json: "remote ref with ref to definitions" - "valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 736 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 737 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 738 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/name/foo", 381s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/name", 381s # "keywordLocation": "/properties/name/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "/name/foo", 381s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "/name", 381s # "keywordLocation": "/properties/name/$ref/properties" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/properties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 739 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 740 - refRemote.json: "$ref to $ref finds location-independent $id" - "number is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 741 - refRemote.json: "$ref to $ref finds location-independent $id" - "non-number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/draft7/detached-ref.json#/definitions/detached/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/draft7/detached-ref.json#/definitions/detached/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/$ref/$ref/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 742 - required.json: "required validation" - "present required property is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 743 - required.json: "required validation" - "non-present required property is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing property: foo", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 744 - required.json: "required validation" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 745 - required.json: "required validation" - "ignores strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 746 - required.json: "required validation" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 747 - required.json: "required default validation" - "not required by default" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 748 - required.json: "required with empty array" - "property not required" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 749 - required.json: "required with escaped characters" - "object with all properties present is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 750 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 751 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 752 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 753 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: __proto__, toString, constructor", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: __proto__, toString, constructor", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 754 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: toString, constructor", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: toString, constructor", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 755 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: __proto__, constructor", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: __proto__, constructor", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 756 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: __proto__, toString", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "object is missing properties: __proto__, toString", 381s # "instanceLocation": "", 381s # "keywordLocation": "/required" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 757 - required.json: "required properties whose names are Javascript object property names" - "all present" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 758 - type.json: "integer type matches integers" - "an integer is an integer" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 759 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 760 - type.json: "integer type matches integers" - "a float is not an integer" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got number, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got number, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 761 - type.json: "integer type matches integers" - "a string is not an integer" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 762 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got string, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 763 - type.json: "integer type matches integers" - "an object is not an integer" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got object, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got object, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 764 - type.json: "integer type matches integers" - "an array is not an integer" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got array, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got array, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 765 - type.json: "integer type matches integers" - "a boolean is not an integer" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got boolean, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got boolean, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 766 - type.json: "integer type matches integers" - "null is not an integer" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got null, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 381s # "error": "got null, not integer", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 767 - type.json: "number type matches numbers" - "an integer is a number" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 768 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 769 - type.json: "number type matches numbers" - "a float is a number" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 770 - type.json: "number type matches numbers" - "a string is not a number" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 771 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 772 - type.json: "number type matches numbers" - "an object is not a number" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 773 - type.json: "number type matches numbers" - "an array is not a number" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 774 - type.json: "number type matches numbers" - "a boolean is not a number" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 775 - type.json: "number type matches numbers" - "null is not a number" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not number", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 776 - type.json: "string type matches strings" - "1 is not a string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 777 - type.json: "string type matches strings" - "a float is not a string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got number, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got number, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 778 - type.json: "string type matches strings" - "a string is a string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 779 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 780 - type.json: "string type matches strings" - "an empty string is still a string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 781 - type.json: "string type matches strings" - "an object is not a string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got object, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got object, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 782 - type.json: "string type matches strings" - "an array is not a string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got array, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got array, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 783 - type.json: "string type matches strings" - "a boolean is not a string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got boolean, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got boolean, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 784 - type.json: "string type matches strings" - "null is not a string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got null, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got null, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 785 - type.json: "object type matches objects" - "an integer is not an object" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 786 - type.json: "object type matches objects" - "a float is not an object" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 787 - type.json: "object type matches objects" - "a string is not an object" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 788 - type.json: "object type matches objects" - "an object is an object" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 789 - type.json: "object type matches objects" - "an array is not an object" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 790 - type.json: "object type matches objects" - "a boolean is not an object" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 791 - type.json: "object type matches objects" - "null is not an object" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 792 - type.json: "array type matches arrays" - "an integer is not an array" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 793 - type.json: "array type matches arrays" - "a float is not an array" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 794 - type.json: "array type matches arrays" - "a string is not an array" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 795 - type.json: "array type matches arrays" - "an object is not an array" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 796 - type.json: "array type matches arrays" - "an array is an array" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 797 - type.json: "array type matches arrays" - "a boolean is not an array" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 798 - type.json: "array type matches arrays" - "null is not an array" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not array", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 799 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 800 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 801 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 802 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 803 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 804 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 805 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 806 - type.json: "boolean type matches booleans" - "true is a boolean" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 807 - type.json: "boolean type matches booleans" - "false is a boolean" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 808 - type.json: "boolean type matches booleans" - "null is not a boolean" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not boolean", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 809 - type.json: "null type matches only the null object" - "an integer is not null" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 810 - type.json: "null type matches only the null object" - "a float is not null" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 811 - type.json: "null type matches only the null object" - "zero is not null" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 812 - type.json: "null type matches only the null object" - "a string is not null" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 813 - type.json: "null type matches only the null object" - "an empty string is not null" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 814 - type.json: "null type matches only the null object" - "an object is not null" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 815 - type.json: "null type matches only the null object" - "an array is not null" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 816 - type.json: "null type matches only the null object" - "true is not null" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 817 - type.json: "null type matches only the null object" - "false is not null" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 818 - type.json: "null type matches only the null object" - "null is null" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 819 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 820 - type.json: "multiple types can be specified in an array" - "a string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 821 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got number, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 822 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got object, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 823 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got array, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 824 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got boolean, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 825 - type.json: "multiple types can be specified in an array" - "null is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not one of integer, string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 826 - type.json: "type as array with one item" - "string is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 827 - type.json: "type as array with one item" - "number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not one of string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not one of string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 828 - type.json: "type: array or object" - "array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 829 - type.json: "type: array or object" - "object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 830 - type.json: "type: array or object" - "number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not one of array, object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not one of array, object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 831 - type.json: "type: array or object" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not one of array, object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not one of array, object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 832 - type.json: "type: array or object" - "null is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not one of array, object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got null, not one of array, object", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 833 - type.json: "type: array, object or null" - "array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 834 - type.json: "type: array, object or null" - "object is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 835 - type.json: "type: array, object or null" - "null is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 836 - type.json: "type: array, object or null" - "number is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not one of array, object, null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got integer, not one of array, object, null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 837 - type.json: "type: array, object or null" - "string is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not one of array, object, null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not one of array, object, null", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 838 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 839 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 840 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 2 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 2 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 841 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 842 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 843 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 844 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 845 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 2 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 2 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 846 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 847 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 848 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 849 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 850 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 851 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 852 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 853 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 2 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 2 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 854 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 855 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 856 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 857 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 858 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 859 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 860 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 861 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 4 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 4 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 862 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 863 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 864 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 865 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 866 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 867 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 868 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 869 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 870 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 871 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 872 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 2 and 3 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 2 and 3 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 873 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 2 and 3 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 2 and 3 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 874 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 875 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 876 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 877 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "items at indices 0 and 1 are not unique", 381s # "instanceLocation": "", 381s # "keywordLocation": "/uniqueItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 878 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 879 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 880 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 881 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 882 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 883 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 884 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 885 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 886 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 887 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 888 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 889 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 890 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 891 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 892 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 893 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 894 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 895 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 896 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 897 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 898 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 899 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 900 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 901 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 902 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 903 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 904 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 905 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 906 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional item not permitted", 381s # "instanceLocation": "/2", 381s # "keywordLocation": "/additionalItems" 381s # }, 381s # { 381s # "error": "subschema is not valid against all additional items", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalItems" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 907 - optional/bignum.json: "integer" - "a bignum is an integer" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 908 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 909 - optional/bignum.json: "number" - "a bignum is a number" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 910 - optional/bignum.json: "number" - "a negative bignum is a number" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 911 - optional/bignum.json: "string" - "a bignum is not a string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/type" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 912 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 913 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMaximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMaximum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 914 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 915 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMinimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 381s # "instanceLocation": "", 381s # "keywordLocation": "/exclusiveMinimum" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 916 - optional/content.json: "validation of string-encoded content based on media type" - "a valid JSON document" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 917 - optional/content.json: "validation of string-encoded content based on media type" - "an invalid JSON document" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contentMediaType" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contentMediaType" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 918 - optional/content.json: "validation of string-encoded content based on media type" - "ignores non-strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 919 - optional/content.json: "validation of binary string-encoding" - "a valid base64 string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 920 - optional/content.json: "validation of binary string-encoding" - "an invalid base64 string (% is not a valid character)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "could not decode base64 string: invalid characters", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contentEncoding" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "could not decode base64 string: invalid characters", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contentEncoding" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 921 - optional/content.json: "validation of binary string-encoding" - "ignores non-strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 922 - optional/content.json: "validation of binary-encoded media type documents" - "a valid base64-encoded JSON document" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 923 - optional/content.json: "validation of binary-encoded media type documents" - "a validly-encoded invalid JSON document" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\\n\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contentMediaType" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\\n\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contentMediaType" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 924 - optional/content.json: "validation of binary-encoded media type documents" - "an invalid base64 string that is valid JSON" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "could not decode base64 string: invalid characters", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contentEncoding" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "could not decode base64 string: invalid characters", 381s # "instanceLocation": "", 381s # "keywordLocation": "/contentEncoding" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 925 - optional/content.json: "validation of binary-encoded media type documents" - "ignores non-strings" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 926 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "missing bar is invalid" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired/foo", 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/$ref/dependentRequired/foo" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired", 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/$ref/dependentRequired" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired/foo", 381s # "error": "object is missing property: bar", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/$ref/dependentRequired/foo" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired", 381s # "error": "not all dependencies are satisfied", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf/1/$ref/dependentRequired" 381s # }, 381s # { 381s # "error": "subschema 1 is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/allOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 927 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "present bar is valid" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 928 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 929 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 930 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 931 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 932 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 933 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 934 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 935 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 936 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true # 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # data: "\"߀\"" 381s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # data: "\"߀\"" 381s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s 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" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false # 381s 1..1 381s } 381s 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" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected true; got false 381s # data: "\"߀\"" 381s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s 1..1 381s } 381s 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" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected true; got false 381s # data: "\"߀\"" 381s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s 1..1 381s } 381s ok 942 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true # 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # data: "\"é\"" 381s # schema: "{\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s 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" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false # 381s 1..1 381s } 381s 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" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected true; got false 381s # data: "\"é\"" 381s # schema: "{\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s 1..1 381s } 381s ok 946 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 947 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 948 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 949 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 950 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 951 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected true; got false 381s # data: "\"\"" 381s # schema: "{\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s 1..1 381s } 381s ok 952 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 953 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 954 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 955 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 956 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 957 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 958 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 959 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 960 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 961 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # data: "\"\"" 381s # schema: "{\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s ok 963 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 964 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 965 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 966 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 967 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 968 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 969 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 970 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 971 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 972 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # 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.\"" 381s # schema: "{\"pattern\":\"\\\\wcole\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # 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.\"" 381s # schema: "{\"pattern\":\"\\\\wcole\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s ok 975 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 976 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 977 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 978 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 979 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 980 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # data: "\"৪২\"" 381s # schema: "{\"pattern\":\"^\\\\d+$\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s ok 982 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 983 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 984 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 985 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 986 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 987 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 988 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/L'ÉCOLE", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/L'ÉCOLE", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 989 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # data: "{\"l'école\":\"pas de vraie vie\"}" 381s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # data: "{\"l'école\":\"pas de vraie vie\"}" 381s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s ok 992 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/L'ÉCOLE", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/L'ÉCOLE", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 993 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/l'école", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/l'école", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 994 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/l'école", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/l'école", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 995 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 996 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 997 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/-%#", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/-%#", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s 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" 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s not ok 1 - evaluation result is incorrect # 381s # Failed test (with amnesty) 'evaluation result is incorrect' 381s # at t/zzz-acceptance-draft7.t line 49. 381s # expected false; got true 381s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 381s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 381s # result: { 381s # "valid": true 381s # } 381s 1..1 381s } 381s ok 999 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1000 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/-%#", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "additional property not permitted", 381s # "instanceLocation": "/-%#", 381s # "keywordLocation": "/additionalProperties" 381s # }, 381s # { 381s # "error": "not all additional properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/additionalProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 1001 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 1002 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s # 381s ok 1003 - optional/id.json: "id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1004 - optional/id.json: "id inside an enum is not a real identifier" - "match $ref to id" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1005 - optional/id.json: "id inside an enum is not a real identifier" - "no match on enum or $ref to id" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/$ref/enum" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/$ref/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/$ref/enum" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/$ref/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 1006 - optional/id.json: "non-schema object containing a plain-name $id property" - "skip traversing definition for a valid result" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1007 - optional/id.json: "non-schema object containing a plain-name $id property" - "const at const_not_anchor does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/$ref/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/$ref/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 1008 - optional/id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1009 - optional/id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/$ref/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 381s # "error": "value does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else/$ref/const" 381s # }, 381s # { 381s # "error": "subschema is not valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/else" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s ok 1010 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1011 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1012 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1013 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 1014 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 1015 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 1016 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "pattern does not match", 381s # "instanceLocation": "", 381s # "keywordLocation": "/pattern" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 1017 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1018 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1019 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1020 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/🐲", 381s # "keywordLocation": "/patternProperties/^🐲*$/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/🐲", 381s # "keywordLocation": "/patternProperties/^🐲*$/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 1021 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 381s # result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/🐲🐲", 381s # "keywordLocation": "/patternProperties/^🐲*$/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "error": "got string, not integer", 381s # "instanceLocation": "/🐲🐲", 381s # "keywordLocation": "/patternProperties/^🐲*$/type" 381s # }, 381s # { 381s # "error": "not all properties are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/patternProperties" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s 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" { 381s # result: { 381s # "valid": true 381s # } 381s # short-circuited result: { 381s # "valid": true 381s # } 381s ok 1 - test passes: data is valid: true 381s 1..1 381s } 381s ok 1023 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/$ref/not" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/$ref/not" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 381s # "error": "got null, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/2/$ref/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/$ref/not" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/$ref/not" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 381s # "error": "got null, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/2/$ref/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s ok 1024 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 381s # result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/$ref/not" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/$ref/not" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/2/$ref/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s # short-circuited result: { 381s # "errors": [ 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/0/$ref/not" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 381s # "error": "subschema is valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/1/$ref/not" 381s # }, 381s # { 381s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 381s # "error": "got integer, not string", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf/2/$ref/type" 381s # }, 381s # { 381s # "error": "no subschemas are valid", 381s # "instanceLocation": "", 381s # "keywordLocation": "/anyOf" 381s # } 381s # ], 381s # "valid": false 381s # } 381s ok 1 - test passes: data is valid: false 381s 1..1 381s } 381s # 381s # 381s # generated with: Test::JSON::Schema::Acceptance 1.026 381s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 381s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 381s # specification version: draft7 381s # optional tests included: yes 381s # skipping directory: optional/format 381s # 381s # filename pass todo-fail fail 381s # --------------------------------------------------------------- 381s # additionalItems.json 20 0 0 381s # additionalProperties.json 16 0 0 381s # allOf.json 30 0 0 381s # anyOf.json 18 0 0 381s # boolean_schema.json 18 0 0 381s # const.json 50 0 0 381s # contains.json 21 0 0 381s # default.json 7 0 0 381s # definitions.json 2 0 0 381s # dependencies.json 36 0 0 381s # enum.json 45 0 0 381s # exclusiveMaximum.json 4 0 0 381s # exclusiveMinimum.json 4 0 0 381s # format.json 102 0 0 381s # if-then-else.json 26 0 0 381s # infinite-loop-detection.json 2 0 0 381s # items.json 28 0 0 381s # maxItems.json 6 0 0 381s # maxLength.json 7 0 0 381s # maxProperties.json 10 0 0 381s # maximum.json 8 0 0 381s # minItems.json 6 0 0 381s # minLength.json 7 0 0 381s # minProperties.json 8 0 0 381s # minimum.json 11 0 0 381s # multipleOf.json 10 0 0 381s # not.json 38 0 0 381s # oneOf.json 27 0 0 381s # pattern.json 9 0 0 381s # patternProperties.json 23 0 0 381s # properties.json 28 0 0 381s # propertyNames.json 13 0 0 381s # ref.json 78 0 0 381s # refRemote.json 23 0 0 381s # required.json 16 0 0 381s # type.json 80 0 0 381s # uniqueItems.json 69 0 0 381s # optional/bignum.json 9 0 0 381s # optional/content.json 10 0 0 381s # optional/cross-draft.json 2 0 0 381s # optional/ecmascript-regex.json 60 14 0 381s # optional/float-overflow.json 1 0 0 381s # optional/id.json 7 0 0 381s # optional/non-bmp-regex.json 12 0 0 381s # optional/unknownKeyword.json 3 0 0 381s # --------------------------------------------------------------- 381s # TOTAL 1010 14 0 381s # 381s # Congratulations, all non-optional tests are passing! 381s # 381s ok 1025 - no leaks in the main evaluator object 381s ok 1026 - no leaks in the short-circuiting evaluator object 381s 1..1026 381s ok 381s t/zzz-check-breaks.t .................... 381s 1..2 381s ok 1 # skip no conflicts module found to check against 381s ok 2 - checked x_breaks data 381s ok 381s All tests successful. 381s 381s Test Summary Report 381s ------------------- 381s t/zzz-acceptance-draft2019-09-format.t (Wstat: 0 Tests: 473 Failed: 0) 381s TODO passed: 131-135, 146-201, 258-270, 282, 415-424 381s 450 381s t/zzz-acceptance-draft2019-09.t (Wstat: 0 Tests: 1376 Failed: 0) 381s TODO passed: 1237-1272, 1281-1290, 1296, 1307, 1318-1319 381s 1326, 1335-1336, 1343, 1366-1371 381s t/zzz-acceptance-draft2020-12-format.t (Wstat: 0 Tests: 480 Failed: 0) 381s TODO passed: 118-119, 138-142, 153-208, 265-277, 289 381s 422-431, 457 381s t/zzz-acceptance-draft2020-12.t (Wstat: 0 Tests: 1406 Failed: 0) 381s TODO passed: 1260-1295, 1306-1315, 1321, 1332, 1343-1344 381s 1351-1352, 1361-1362, 1369, 1396-1401 381s t/zzz-acceptance-draft4-format.t (Wstat: 0 Tests: 153 Failed: 0) 381s TODO passed: 59-62, 151 381s t/zzz-acceptance-draft4.t (Wstat: 0 Tests: 712 Failed: 0) 381s TODO passed: 446, 611-612, 628-637, 643, 654, 665-666 381s 673, 682-683, 690 381s t/zzz-acceptance-draft6-format.t (Wstat: 0 Tests: 214 Failed: 0) 381s TODO passed: 59-62, 177-186, 212 381s t/zzz-acceptance-draft6.t (Wstat: 0 Tests: 930 Failed: 0) 381s TODO passed: 840-849, 855, 866, 877-878, 885, 894-895 381s 902 381s t/zzz-acceptance-draft7-format.t (Wstat: 0 Tests: 425 Failed: 0) 381s TODO passed: 106-109, 120-174, 231-243, 255, 388-397 381s 423 381s t/zzz-acceptance-draft7.t (Wstat: 0 Tests: 1026 Failed: 0) 381s TODO passed: 936-945, 951, 962, 973-974, 981, 990-991 381s 998 381s Files=44, Tests=10302, 101 wallclock secs ( 4.33 usr 0.32 sys + 95.88 cusr 4.77 csys = 105.30 CPU) 381s Result: PASS 382s autopkgtest [08:59:10]: test autodep8-perl-build-deps: -----------------------] 386s autodep8-perl-build-deps PASS 386s autopkgtest [08:59:14]: test autodep8-perl-build-deps: - - - - - - - - - - results - - - - - - - - - - 390s autopkgtest [08:59:18]: test autodep8-perl: preparing testbed 447s autopkgtest [09:00:15]: testbed dpkg architecture: armhf 449s autopkgtest [09:00:17]: testbed apt version: 2.9.8 449s autopkgtest [09:00:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 457s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 457s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1024 kB] 458s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 458s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 458s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.0 kB] 458s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [146 kB] 458s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [752 kB] 458s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [4428 B] 458s Fetched 2117 kB in 1s (2315 kB/s) 458s Reading package lists... 473s tee: /proc/self/fd/2: Permission denied 495s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 495s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 495s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 495s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 496s Reading package lists... 496s Reading package lists... 497s Building dependency tree... 497s Reading state information... 498s Calculating upgrade... 499s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 500s Reading package lists... 500s Building dependency tree... 500s Reading state information... 501s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 502s autopkgtest [09:01:10]: rebooting testbed after setup commands that affected boot 603s Reading package lists... 603s Building dependency tree... 603s Reading state information... 604s Starting pkgProblemResolver with broken count: 0 604s Starting 2 pkgProblemResolver with broken count: 0 604s Done 604s The following additional packages will be installed: 604s autodep8 dctrl-tools javascript-common libautovivification-perl 604s libb-hooks-endofscope-perl libb-hooks-op-check-perl libclass-inspector-perl 604s libclass-method-modifiers-perl libclass-xsaccessor-perl 604s libcpanel-json-xs-perl libdata-optlist-perl libdevel-callchecker-perl 604s libdynaloader-functions-perl libexporter-tiny-perl 604s libfeature-compat-try-perl libfile-sharedir-perl 604s libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl 604s libjs-bootstrap5 libjs-highlight.js libjs-popper.js 604s libjson-schema-modern-perl libmodule-implementation-perl 604s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 604s libnamespace-clean-perl libpackage-stash-perl libparams-classify-perl 604s libparams-util-perl libparams-validate-perl libpath-tiny-perl 604s libref-util-perl librole-tiny-perl libsafe-isa-perl libstrictures-perl 604s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 604s libsub-install-perl libsub-name-perl libsub-quote-perl 604s libsyntax-keyword-try-perl libtry-tiny-perl libtype-tiny-perl 604s libvariable-magic-perl libxs-parse-keyword-perl pkg-perl-autopkgtest 604s Suggested packages: 604s debtags apache2 | lighttpd | httpd bootstrap-icons libjs-bootstrap5-doc 604s libscalar-number-perl libbareword-filehandles-perl libindirect-perl 604s libmultidimensional-perl libxstring-perl libdevel-lexalias-perl 604s libdevel-stacktrace-perl 604s Recommended packages: 604s node-jquery libdata-validate-domain-perl libdatetime-format-rfc3339-perl 604s libemail-address-xs-perl libnet-idn-encode-perl libref-util-xs-perl 604s libsereal-perl libtime-moment-perl libtype-tiny-xs-perl libev-perl 604s libfuture-asyncawait-perl libio-socket-socks-perl libio-socket-ssl-perl 604s libmojo-server-fastcgi-perl libpackage-stash-xs-perl libunicode-utf8-perl 604s libreadonly-perl 604s The following NEW packages will be installed: 604s autodep8 autopkgtest-satdep dctrl-tools javascript-common 604s libautovivification-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl 604s libclass-inspector-perl libclass-method-modifiers-perl 604s libclass-xsaccessor-perl libcpanel-json-xs-perl libdata-optlist-perl 604s libdevel-callchecker-perl libdynaloader-functions-perl libexporter-tiny-perl 604s libfeature-compat-try-perl libfile-sharedir-perl 604s libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl 604s libjs-bootstrap5 libjs-highlight.js libjs-popper.js 604s libjson-schema-modern-perl libmodule-implementation-perl 604s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 604s libnamespace-clean-perl libpackage-stash-perl libparams-classify-perl 604s libparams-util-perl libparams-validate-perl libpath-tiny-perl 604s libref-util-perl librole-tiny-perl libsafe-isa-perl libstrictures-perl 604s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 604s libsub-install-perl libsub-name-perl libsub-quote-perl 604s libsyntax-keyword-try-perl libtry-tiny-perl libtype-tiny-perl 604s libvariable-magic-perl libxs-parse-keyword-perl pkg-perl-autopkgtest 605s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 605s Need to get 3048 kB/3049 kB of archives. 605s After this operation, 13.5 MB of additional disk space will be used. 605s Get:1 /tmp/autopkgtest.vuKWDd/2-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [728 B] 605s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf dctrl-tools armhf 2.24-3build3 [94.7 kB] 605s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf autodep8 all 0.28+nmu1ubuntu1 [13.7 kB] 605s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf javascript-common all 11+nmu1 [5936 B] 605s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf libautovivification-perl armhf 0.18-2build5 [20.8 kB] 605s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libb-hooks-op-check-perl armhf 0.22-3build2 [9174 B] 605s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libdynaloader-functions-perl all 0.004-1 [11.4 kB] 605s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libdevel-callchecker-perl armhf 0.009-1build1 [14.0 kB] 605s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libparams-classify-perl armhf 0.015-2build6 [18.8 kB] 605s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libmodule-runtime-perl all 0.016-2 [16.4 kB] 605s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libtry-tiny-perl all 0.32-1 [21.2 kB] 605s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libmodule-implementation-perl all 0.09-2 [12.0 kB] 605s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 605s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libvariable-magic-perl armhf 0.64-1build1 [33.4 kB] 605s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 605s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libclass-inspector-perl all 1.36-3 [15.4 kB] 605s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 605s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libclass-xsaccessor-perl armhf 1.19-4build5 [32.3 kB] 605s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libcpanel-json-xs-perl armhf 4.38-1build1 [113 kB] 605s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libparams-util-perl armhf 1.102-3build1 [20.5 kB] 605s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-install-perl all 0.929-1 [9764 B] 605s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libdata-optlist-perl all 0.114-1 [9708 B] 605s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libexporter-tiny-perl all 1.006002-1 [36.8 kB] 605s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-sharedir-perl all 1.118-3 [14.0 kB] 605s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libxs-parse-keyword-perl armhf 0.46-1 [58.4 kB] 605s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libsyntax-keyword-try-perl armhf 0.30-1 [24.0 kB] 605s Get:27 http://ftpmaster.internal/ubuntu plucky/universe armhf libfeature-compat-try-perl all 0.05-1 [9998 B] 605s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libio-stringy-perl all 2.113-2 [45.3 kB] 605s Get:29 http://ftpmaster.internal/ubuntu plucky/universe armhf libparams-validate-perl armhf 1.31-2build4 [52.9 kB] 605s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-exporter-perl all 0.990-1 [49.0 kB] 605s Get:31 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf libgetopt-long-descriptive-perl all 0.115-1 [24.9 kB] 605s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libimport-into-perl all 1.002005-2 [10.7 kB] 605s Get:33 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-popper.js all 1.16.1+ds-6 [54.1 kB] 605s Get:34 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-bootstrap5 all 5.3.3+dfsg-1 [309 kB] 605s Get:35 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-highlight.js all 9.18.5+dfsg1-2 [385 kB] 605s Get:36 http://ftpmaster.internal/ubuntu plucky/universe armhf libmojolicious-perl all 9.38+dfsg-1 [760 kB] 605s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf librole-tiny-perl all 2.002004-1 [16.3 kB] 605s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 605s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libmoo-perl all 2.005005-1 [47.4 kB] 605s Get:40 http://ftpmaster.internal/ubuntu plucky/universe armhf libtype-tiny-perl all 2.004000-1 [354 kB] 605s Get:41 http://ftpmaster.internal/ubuntu plucky/universe armhf libmoox-typetiny-perl all 0.002003-4 [5930 B] 605s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libpackage-stash-perl all 0.40-1 [19.5 kB] 605s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-identify-perl armhf 0.14-3build4 [9396 B] 605s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libsub-name-perl armhf 0.27-1build4 [10.3 kB] 605s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf libnamespace-clean-perl all 0.27-2 [14.0 kB] 605s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libpath-tiny-perl all 0.146-1 [47.5 kB] 605s Get:47 http://ftpmaster.internal/ubuntu plucky/universe armhf libref-util-perl all 0.204-2 [15.1 kB] 605s Get:48 http://ftpmaster.internal/ubuntu plucky/universe armhf libsafe-isa-perl all 1.000010-1 [7684 B] 605s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libstrictures-perl all 2.000006-1 [16.3 kB] 606s Get:50 http://ftpmaster.internal/ubuntu plucky/universe armhf libjson-schema-modern-perl all 0.593-1 [100 kB] 606s Get:51 http://ftpmaster.internal/ubuntu plucky/universe armhf pkg-perl-autopkgtest all 0.80 [18.7 kB] 606s Fetched 3048 kB in 1s (3076 kB/s) 606s Selecting previously unselected package dctrl-tools. 606s (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 ... 59573 files and directories currently installed.) 606s Preparing to unpack .../00-dctrl-tools_2.24-3build3_armhf.deb ... 606s Unpacking dctrl-tools (2.24-3build3) ... 606s Selecting previously unselected package autodep8. 606s Preparing to unpack .../01-autodep8_0.28+nmu1ubuntu1_all.deb ... 606s Unpacking autodep8 (0.28+nmu1ubuntu1) ... 606s Selecting previously unselected package javascript-common. 606s Preparing to unpack .../02-javascript-common_11+nmu1_all.deb ... 606s Unpacking javascript-common (11+nmu1) ... 606s Selecting previously unselected package libautovivification-perl:armhf. 606s Preparing to unpack .../03-libautovivification-perl_0.18-2build5_armhf.deb ... 606s Unpacking libautovivification-perl:armhf (0.18-2build5) ... 606s Selecting previously unselected package libb-hooks-op-check-perl:armhf. 606s Preparing to unpack .../04-libb-hooks-op-check-perl_0.22-3build2_armhf.deb ... 606s Unpacking libb-hooks-op-check-perl:armhf (0.22-3build2) ... 606s Selecting previously unselected package libdynaloader-functions-perl. 606s Preparing to unpack .../05-libdynaloader-functions-perl_0.004-1_all.deb ... 606s Unpacking libdynaloader-functions-perl (0.004-1) ... 606s Selecting previously unselected package libdevel-callchecker-perl:armhf. 606s Preparing to unpack .../06-libdevel-callchecker-perl_0.009-1build1_armhf.deb ... 606s Unpacking libdevel-callchecker-perl:armhf (0.009-1build1) ... 606s Selecting previously unselected package libparams-classify-perl:armhf. 606s Preparing to unpack .../07-libparams-classify-perl_0.015-2build6_armhf.deb ... 606s Unpacking libparams-classify-perl:armhf (0.015-2build6) ... 606s Selecting previously unselected package libmodule-runtime-perl. 606s Preparing to unpack .../08-libmodule-runtime-perl_0.016-2_all.deb ... 606s Unpacking libmodule-runtime-perl (0.016-2) ... 606s Selecting previously unselected package libtry-tiny-perl. 606s Preparing to unpack .../09-libtry-tiny-perl_0.32-1_all.deb ... 606s Unpacking libtry-tiny-perl (0.32-1) ... 606s Selecting previously unselected package libmodule-implementation-perl. 606s Preparing to unpack .../10-libmodule-implementation-perl_0.09-2_all.deb ... 606s Unpacking libmodule-implementation-perl (0.09-2) ... 606s Selecting previously unselected package libsub-exporter-progressive-perl. 606s Preparing to unpack .../11-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 606s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 606s Selecting previously unselected package libvariable-magic-perl. 606s Preparing to unpack .../12-libvariable-magic-perl_0.64-1build1_armhf.deb ... 606s Unpacking libvariable-magic-perl (0.64-1build1) ... 606s Selecting previously unselected package libb-hooks-endofscope-perl. 606s Preparing to unpack .../13-libb-hooks-endofscope-perl_0.28-1_all.deb ... 606s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 606s Selecting previously unselected package libclass-inspector-perl. 606s Preparing to unpack .../14-libclass-inspector-perl_1.36-3_all.deb ... 606s Unpacking libclass-inspector-perl (1.36-3) ... 607s Selecting previously unselected package libclass-method-modifiers-perl. 607s Preparing to unpack .../15-libclass-method-modifiers-perl_2.15-1_all.deb ... 607s Unpacking libclass-method-modifiers-perl (2.15-1) ... 607s Selecting previously unselected package libclass-xsaccessor-perl. 607s Preparing to unpack .../16-libclass-xsaccessor-perl_1.19-4build5_armhf.deb ... 607s Unpacking libclass-xsaccessor-perl (1.19-4build5) ... 607s Selecting previously unselected package libcpanel-json-xs-perl:armhf. 607s Preparing to unpack .../17-libcpanel-json-xs-perl_4.38-1build1_armhf.deb ... 607s Unpacking libcpanel-json-xs-perl:armhf (4.38-1build1) ... 607s Selecting previously unselected package libparams-util-perl. 607s Preparing to unpack .../18-libparams-util-perl_1.102-3build1_armhf.deb ... 607s Unpacking libparams-util-perl (1.102-3build1) ... 607s Selecting previously unselected package libsub-install-perl. 607s Preparing to unpack .../19-libsub-install-perl_0.929-1_all.deb ... 607s Unpacking libsub-install-perl (0.929-1) ... 607s Selecting previously unselected package libdata-optlist-perl. 607s Preparing to unpack .../20-libdata-optlist-perl_0.114-1_all.deb ... 607s Unpacking libdata-optlist-perl (0.114-1) ... 607s Selecting previously unselected package libexporter-tiny-perl. 607s Preparing to unpack .../21-libexporter-tiny-perl_1.006002-1_all.deb ... 607s Unpacking libexporter-tiny-perl (1.006002-1) ... 607s Selecting previously unselected package libfile-sharedir-perl. 607s Preparing to unpack .../22-libfile-sharedir-perl_1.118-3_all.deb ... 607s Unpacking libfile-sharedir-perl (1.118-3) ... 607s Selecting previously unselected package libxs-parse-keyword-perl. 607s Preparing to unpack .../23-libxs-parse-keyword-perl_0.46-1_armhf.deb ... 607s Unpacking libxs-parse-keyword-perl (0.46-1) ... 607s Selecting previously unselected package libsyntax-keyword-try-perl. 607s Preparing to unpack .../24-libsyntax-keyword-try-perl_0.30-1_armhf.deb ... 607s Unpacking libsyntax-keyword-try-perl (0.30-1) ... 607s Selecting previously unselected package libfeature-compat-try-perl. 607s Preparing to unpack .../25-libfeature-compat-try-perl_0.05-1_all.deb ... 607s Unpacking libfeature-compat-try-perl (0.05-1) ... 607s Selecting previously unselected package libio-stringy-perl. 607s Preparing to unpack .../26-libio-stringy-perl_2.113-2_all.deb ... 607s Unpacking libio-stringy-perl (2.113-2) ... 607s Selecting previously unselected package libparams-validate-perl:armhf. 607s Preparing to unpack .../27-libparams-validate-perl_1.31-2build4_armhf.deb ... 607s Unpacking libparams-validate-perl:armhf (1.31-2build4) ... 607s Selecting previously unselected package libsub-exporter-perl. 607s Preparing to unpack .../28-libsub-exporter-perl_0.990-1_all.deb ... 607s Unpacking libsub-exporter-perl (0.990-1) ... 607s Selecting previously unselected package libgetopt-long-descriptive-perl. 607s Preparing to unpack .../29-libgetopt-long-descriptive-perl_0.115-1_all.deb ... 607s Unpacking libgetopt-long-descriptive-perl (0.115-1) ... 607s Selecting previously unselected package libimport-into-perl. 607s Preparing to unpack .../30-libimport-into-perl_1.002005-2_all.deb ... 607s Unpacking libimport-into-perl (1.002005-2) ... 607s Selecting previously unselected package libjs-popper.js. 607s Preparing to unpack .../31-libjs-popper.js_1.16.1+ds-6_all.deb ... 607s Unpacking libjs-popper.js (1.16.1+ds-6) ... 607s Selecting previously unselected package libjs-bootstrap5. 607s Preparing to unpack .../32-libjs-bootstrap5_5.3.3+dfsg-1_all.deb ... 607s Unpacking libjs-bootstrap5 (5.3.3+dfsg-1) ... 607s Selecting previously unselected package libjs-highlight.js. 607s Preparing to unpack .../33-libjs-highlight.js_9.18.5+dfsg1-2_all.deb ... 607s Unpacking libjs-highlight.js (9.18.5+dfsg1-2) ... 607s Selecting previously unselected package libmojolicious-perl. 607s Preparing to unpack .../34-libmojolicious-perl_9.38+dfsg-1_all.deb ... 607s Unpacking libmojolicious-perl (9.38+dfsg-1) ... 607s Selecting previously unselected package librole-tiny-perl. 607s Preparing to unpack .../35-librole-tiny-perl_2.002004-1_all.deb ... 607s Unpacking librole-tiny-perl (2.002004-1) ... 607s Selecting previously unselected package libsub-quote-perl. 607s Preparing to unpack .../36-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 607s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 607s Selecting previously unselected package libmoo-perl. 607s Preparing to unpack .../37-libmoo-perl_2.005005-1_all.deb ... 607s Unpacking libmoo-perl (2.005005-1) ... 607s Selecting previously unselected package libtype-tiny-perl. 607s Preparing to unpack .../38-libtype-tiny-perl_2.004000-1_all.deb ... 607s Unpacking libtype-tiny-perl (2.004000-1) ... 607s Selecting previously unselected package libmoox-typetiny-perl. 607s Preparing to unpack .../39-libmoox-typetiny-perl_0.002003-4_all.deb ... 608s Unpacking libmoox-typetiny-perl (0.002003-4) ... 608s Selecting previously unselected package libpackage-stash-perl. 608s Preparing to unpack .../40-libpackage-stash-perl_0.40-1_all.deb ... 608s Unpacking libpackage-stash-perl (0.40-1) ... 608s Selecting previously unselected package libsub-identify-perl. 608s Preparing to unpack .../41-libsub-identify-perl_0.14-3build4_armhf.deb ... 608s Unpacking libsub-identify-perl (0.14-3build4) ... 608s Selecting previously unselected package libsub-name-perl:armhf. 608s Preparing to unpack .../42-libsub-name-perl_0.27-1build4_armhf.deb ... 608s Unpacking libsub-name-perl:armhf (0.27-1build4) ... 608s Selecting previously unselected package libnamespace-clean-perl. 608s Preparing to unpack .../43-libnamespace-clean-perl_0.27-2_all.deb ... 608s Unpacking libnamespace-clean-perl (0.27-2) ... 608s Selecting previously unselected package libpath-tiny-perl. 608s Preparing to unpack .../44-libpath-tiny-perl_0.146-1_all.deb ... 608s Unpacking libpath-tiny-perl (0.146-1) ... 608s Selecting previously unselected package libref-util-perl. 608s Preparing to unpack .../45-libref-util-perl_0.204-2_all.deb ... 608s Unpacking libref-util-perl (0.204-2) ... 608s Selecting previously unselected package libsafe-isa-perl. 608s Preparing to unpack .../46-libsafe-isa-perl_1.000010-1_all.deb ... 608s Unpacking libsafe-isa-perl (1.000010-1) ... 608s Selecting previously unselected package libstrictures-perl. 608s Preparing to unpack .../47-libstrictures-perl_2.000006-1_all.deb ... 608s Unpacking libstrictures-perl (2.000006-1) ... 608s Selecting previously unselected package libjson-schema-modern-perl. 608s Preparing to unpack .../48-libjson-schema-modern-perl_0.593-1_all.deb ... 608s Unpacking libjson-schema-modern-perl (0.593-1) ... 608s Selecting previously unselected package pkg-perl-autopkgtest. 608s Preparing to unpack .../49-pkg-perl-autopkgtest_0.80_all.deb ... 608s Unpacking pkg-perl-autopkgtest (0.80) ... 608s Selecting previously unselected package autopkgtest-satdep. 608s Preparing to unpack .../50-2-autopkgtest-satdep.deb ... 608s Unpacking autopkgtest-satdep (0) ... 608s Setting up javascript-common (11+nmu1) ... 608s Setting up libsafe-isa-perl (1.000010-1) ... 608s Setting up libclass-inspector-perl (1.36-3) ... 608s Setting up libdynaloader-functions-perl (0.004-1) ... 608s Setting up libclass-method-modifiers-perl (2.15-1) ... 608s Setting up libjs-popper.js (1.16.1+ds-6) ... 608s Setting up libsub-identify-perl (0.14-3build4) ... 608s Setting up libcpanel-json-xs-perl:armhf (4.38-1build1) ... 608s Setting up libio-stringy-perl (2.113-2) ... 608s Setting up libtry-tiny-perl (0.32-1) ... 608s Setting up libsub-install-perl (0.929-1) ... 608s Setting up libautovivification-perl:armhf (0.18-2build5) ... 608s Setting up libref-util-perl (0.204-2) ... 608s Setting up libvariable-magic-perl (0.64-1build1) ... 608s Setting up libb-hooks-op-check-perl:armhf (0.22-3build2) ... 608s Setting up libparams-util-perl (1.102-3build1) ... 608s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 608s Setting up libsub-name-perl:armhf (0.27-1build4) ... 608s Setting up libjs-highlight.js (9.18.5+dfsg1-2) ... 608s Setting up libpath-tiny-perl (0.146-1) ... 608s Setting up librole-tiny-perl (2.002004-1) ... 608s Setting up libfile-sharedir-perl (1.118-3) ... 608s Setting up libstrictures-perl (2.000006-1) ... 608s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 608s Setting up libclass-xsaccessor-perl (1.19-4build5) ... 608s Setting up libexporter-tiny-perl (1.006002-1) ... 608s Setting up libjs-bootstrap5 (5.3.3+dfsg-1) ... 608s Setting up dctrl-tools (2.24-3build3) ... 608s Setting up autodep8 (0.28+nmu1ubuntu1) ... 608s Setting up libmojolicious-perl (9.38+dfsg-1) ... 608s Setting up libtype-tiny-perl (2.004000-1) ... 608s Setting up libdevel-callchecker-perl:armhf (0.009-1build1) ... 608s Setting up libxs-parse-keyword-perl (0.46-1) ... 608s Setting up libdata-optlist-perl (0.114-1) ... 608s Setting up pkg-perl-autopkgtest (0.80) ... 608s Setting up libsyntax-keyword-try-perl (0.30-1) ... 608s Setting up libsub-exporter-perl (0.990-1) ... 608s Setting up libfeature-compat-try-perl (0.05-1) ... 608s Setting up libparams-classify-perl:armhf (0.015-2build6) ... 608s Setting up libmodule-runtime-perl (0.016-2) ... 608s Setting up libmodule-implementation-perl (0.09-2) ... 608s Setting up libpackage-stash-perl (0.40-1) ... 608s Setting up libimport-into-perl (1.002005-2) ... 608s Setting up libmoo-perl (2.005005-1) ... 608s Setting up libmoox-typetiny-perl (0.002003-4) ... 608s Setting up libparams-validate-perl:armhf (1.31-2build4) ... 608s Setting up libb-hooks-endofscope-perl (0.28-1) ... 608s Setting up libnamespace-clean-perl (0.27-2) ... 608s Setting up libgetopt-long-descriptive-perl (0.115-1) ... 608s Setting up libjson-schema-modern-perl (0.593-1) ... 608s Setting up autopkgtest-satdep (0) ... 608s Processing triggers for man-db (2.13.0-1) ... 625s (Reading database ... 61026 files and directories currently installed.) 625s Removing autopkgtest-satdep (0) ... 636s autopkgtest [09:03:24]: test autodep8-perl: /usr/share/pkg-perl-autopkgtest/runner runtime-deps 636s autopkgtest [09:03:24]: test autodep8-perl: [----------------------- 639s /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t .. 639s 1..4 639s ok 1 - /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 exited successfully 639s ok 2 - /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 produced no (non-whitelisted) output 639s ok 3 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 exited successfully 639s ok 4 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 produced no (non-whitelisted) output 639s ok 639s All tests successful. 639s Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.68 cusr 0.09 csys = 0.79 CPU) 639s Result: PASS 639s autopkgtest [09:03:27]: test autodep8-perl: -----------------------] 643s autodep8-perl PASS (superficial) 643s autopkgtest [09:03:31]: test autodep8-perl: - - - - - - - - - - results - - - - - - - - - - 647s autopkgtest [09:03:35]: test autodep8-perl-recommends: preparing testbed 656s Reading package lists... 656s Building dependency tree... 656s Reading state information... 657s Starting pkgProblemResolver with broken count: 0 657s Starting 2 pkgProblemResolver with broken count: 0 657s Done 657s The following additional packages will be installed: 657s libalgorithm-c3-perl libclass-c3-perl libclass-data-inheritable-perl 657s libclass-singleton-perl libdata-validate-domain-perl 657s libdatetime-format-rfc3339-perl libdatetime-locale-perl libdatetime-perl 657s libdatetime-timezone-perl libdevel-stacktrace-perl libemail-address-xs-perl 657s libeval-closure-perl libexception-class-perl libmro-compat-perl 657s libnamespace-autoclean-perl libnet-domain-tld-perl libnet-idn-encode-perl 657s libparams-validationcompiler-perl libref-util-xs-perl libsereal-decoder-perl 657s libsereal-encoder-perl libsereal-perl libspecio-perl libtime-moment-perl 657s libtype-tiny-xs-perl libxstring-perl 657s Suggested packages: 657s libtest-fatal-perl 657s Recommended packages: 657s libclass-c3-xs-perl libdevel-lexalias-perl 658s The following NEW packages will be installed: 658s autopkgtest-satdep libalgorithm-c3-perl libclass-c3-perl 658s libclass-data-inheritable-perl libclass-singleton-perl 658s libdata-validate-domain-perl libdatetime-format-rfc3339-perl 658s libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl 658s libdevel-stacktrace-perl libemail-address-xs-perl libeval-closure-perl 658s libexception-class-perl libmro-compat-perl libnamespace-autoclean-perl 658s libnet-domain-tld-perl libnet-idn-encode-perl 658s libparams-validationcompiler-perl libref-util-xs-perl libsereal-decoder-perl 658s libsereal-encoder-perl libsereal-perl libspecio-perl libtime-moment-perl 658s libtype-tiny-xs-perl libxstring-perl 658s 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 658s Need to get 4317 kB/4318 kB of archives. 658s After this operation, 34.0 MB of additional disk space will be used. 658s Get:1 /tmp/autopkgtest.vuKWDd/3-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [824 B] 658s Get:2 http://ftpmaster.internal/ubuntu plucky/universe armhf libalgorithm-c3-perl all 0.11-2 [10.2 kB] 658s Get:3 http://ftpmaster.internal/ubuntu plucky/universe armhf libclass-c3-perl all 0.35-2 [18.4 kB] 658s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libclass-data-inheritable-perl all 0.10-1 [8038 B] 658s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf libclass-singleton-perl all 1.6-2 [11.5 kB] 658s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libnet-domain-tld-perl all 1.75-4 [29.0 kB] 658s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libdata-validate-domain-perl all 0.15-1 [10.4 kB] 658s Get:8 http://ftpmaster.internal/ubuntu plucky/universe armhf libnamespace-autoclean-perl all 0.31-1 [11.9 kB] 658s Get:9 http://ftpmaster.internal/ubuntu plucky/universe armhf libeval-closure-perl all 0.14-3 [10.1 kB] 658s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 658s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libexception-class-perl all 1.45-1 [28.6 kB] 658s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf libparams-validationcompiler-perl all 0.31-1 [28.3 kB] 658s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf libmro-compat-perl all 0.15-2 [10.1 kB] 658s Get:14 http://ftpmaster.internal/ubuntu plucky/universe armhf libxstring-perl armhf 0.005-2build4 [7650 B] 658s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf libspecio-perl all 0.48-1 [137 kB] 658s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf libdatetime-locale-perl all 1:1.41-1 [3193 kB] 658s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf libdatetime-timezone-perl all 1:2.63-2+2024b [259 kB] 658s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf libdatetime-perl armhf 2:1.65-1build3 [98.3 kB] 658s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf libdatetime-format-rfc3339-perl all 1.8.0-1 [8156 B] 658s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libemail-address-xs-perl armhf 1.05-1build5 [26.5 kB] 658s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf libnet-idn-encode-perl armhf 2.500-5build1 [83.7 kB] 658s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf libref-util-xs-perl armhf 0.117-2build5 [11.5 kB] 658s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libsereal-decoder-perl armhf 5.004+ds-1build4 [94.1 kB] 658s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libsereal-encoder-perl armhf 5.004+ds-1build4 [96.1 kB] 658s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf libsereal-perl all 5.004-1 [8770 B] 658s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libtime-moment-perl armhf 0.44-2build5 [70.6 kB] 658s Get:27 http://ftpmaster.internal/ubuntu plucky/universe armhf libtype-tiny-xs-perl armhf 0.025-2build1 [23.5 kB] 659s Fetched 4317 kB in 1s (5276 kB/s) 659s Selecting previously unselected package libalgorithm-c3-perl. 659s (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 ... 61026 files and directories currently installed.) 659s Preparing to unpack .../00-libalgorithm-c3-perl_0.11-2_all.deb ... 659s Unpacking libalgorithm-c3-perl (0.11-2) ... 659s Selecting previously unselected package libclass-c3-perl. 659s Preparing to unpack .../01-libclass-c3-perl_0.35-2_all.deb ... 659s Unpacking libclass-c3-perl (0.35-2) ... 659s Selecting previously unselected package libclass-data-inheritable-perl. 659s Preparing to unpack .../02-libclass-data-inheritable-perl_0.10-1_all.deb ... 659s Unpacking libclass-data-inheritable-perl (0.10-1) ... 659s Selecting previously unselected package libclass-singleton-perl. 659s Preparing to unpack .../03-libclass-singleton-perl_1.6-2_all.deb ... 659s Unpacking libclass-singleton-perl (1.6-2) ... 659s Selecting previously unselected package libnet-domain-tld-perl. 659s Preparing to unpack .../04-libnet-domain-tld-perl_1.75-4_all.deb ... 659s Unpacking libnet-domain-tld-perl (1.75-4) ... 659s Selecting previously unselected package libdata-validate-domain-perl. 659s Preparing to unpack .../05-libdata-validate-domain-perl_0.15-1_all.deb ... 659s Unpacking libdata-validate-domain-perl (0.15-1) ... 659s Selecting previously unselected package libnamespace-autoclean-perl. 659s Preparing to unpack .../06-libnamespace-autoclean-perl_0.31-1_all.deb ... 659s Unpacking libnamespace-autoclean-perl (0.31-1) ... 659s Selecting previously unselected package libeval-closure-perl. 659s Preparing to unpack .../07-libeval-closure-perl_0.14-3_all.deb ... 659s Unpacking libeval-closure-perl (0.14-3) ... 659s Selecting previously unselected package libdevel-stacktrace-perl. 659s Preparing to unpack .../08-libdevel-stacktrace-perl_2.0500-1_all.deb ... 659s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 659s Selecting previously unselected package libexception-class-perl. 659s Preparing to unpack .../09-libexception-class-perl_1.45-1_all.deb ... 659s Unpacking libexception-class-perl (1.45-1) ... 659s Selecting previously unselected package libparams-validationcompiler-perl. 659s Preparing to unpack .../10-libparams-validationcompiler-perl_0.31-1_all.deb ... 659s Unpacking libparams-validationcompiler-perl (0.31-1) ... 659s Selecting previously unselected package libmro-compat-perl. 659s Preparing to unpack .../11-libmro-compat-perl_0.15-2_all.deb ... 659s Unpacking libmro-compat-perl (0.15-2) ... 659s Selecting previously unselected package libxstring-perl:armhf. 659s Preparing to unpack .../12-libxstring-perl_0.005-2build4_armhf.deb ... 659s Unpacking libxstring-perl:armhf (0.005-2build4) ... 659s Selecting previously unselected package libspecio-perl. 659s Preparing to unpack .../13-libspecio-perl_0.48-1_all.deb ... 659s Unpacking libspecio-perl (0.48-1) ... 659s Selecting previously unselected package libdatetime-locale-perl. 659s Preparing to unpack .../14-libdatetime-locale-perl_1%3a1.41-1_all.deb ... 659s Unpacking libdatetime-locale-perl (1:1.41-1) ... 660s Selecting previously unselected package libdatetime-timezone-perl. 660s Preparing to unpack .../15-libdatetime-timezone-perl_1%3a2.63-2+2024b_all.deb ... 660s Unpacking libdatetime-timezone-perl (1:2.63-2+2024b) ... 660s Selecting previously unselected package libdatetime-perl. 660s Preparing to unpack .../16-libdatetime-perl_2%3a1.65-1build3_armhf.deb ... 660s Unpacking libdatetime-perl (2:1.65-1build3) ... 660s Selecting previously unselected package libdatetime-format-rfc3339-perl. 660s Preparing to unpack .../17-libdatetime-format-rfc3339-perl_1.8.0-1_all.deb ... 660s Unpacking libdatetime-format-rfc3339-perl (1.8.0-1) ... 660s Selecting previously unselected package libemail-address-xs-perl. 660s Preparing to unpack .../18-libemail-address-xs-perl_1.05-1build5_armhf.deb ... 660s Unpacking libemail-address-xs-perl (1.05-1build5) ... 660s Selecting previously unselected package libnet-idn-encode-perl. 660s Preparing to unpack .../19-libnet-idn-encode-perl_2.500-5build1_armhf.deb ... 660s Unpacking libnet-idn-encode-perl (2.500-5build1) ... 660s Selecting previously unselected package libref-util-xs-perl. 660s Preparing to unpack .../20-libref-util-xs-perl_0.117-2build5_armhf.deb ... 660s Unpacking libref-util-xs-perl (0.117-2build5) ... 660s Selecting previously unselected package libsereal-decoder-perl. 660s Preparing to unpack .../21-libsereal-decoder-perl_5.004+ds-1build4_armhf.deb ... 660s Unpacking libsereal-decoder-perl (5.004+ds-1build4) ... 660s Selecting previously unselected package libsereal-encoder-perl. 660s Preparing to unpack .../22-libsereal-encoder-perl_5.004+ds-1build4_armhf.deb ... 660s Unpacking libsereal-encoder-perl (5.004+ds-1build4) ... 660s Selecting previously unselected package libsereal-perl. 660s Preparing to unpack .../23-libsereal-perl_5.004-1_all.deb ... 660s Unpacking libsereal-perl (5.004-1) ... 660s Selecting previously unselected package libtime-moment-perl. 660s Preparing to unpack .../24-libtime-moment-perl_0.44-2build5_armhf.deb ... 660s Unpacking libtime-moment-perl (0.44-2build5) ... 660s Selecting previously unselected package libtype-tiny-xs-perl:armhf. 660s Preparing to unpack .../25-libtype-tiny-xs-perl_0.025-2build1_armhf.deb ... 660s Unpacking libtype-tiny-xs-perl:armhf (0.025-2build1) ... 660s Selecting previously unselected package autopkgtest-satdep. 660s Preparing to unpack .../26-3-autopkgtest-satdep.deb ... 660s Unpacking autopkgtest-satdep (0) ... 660s Setting up libref-util-xs-perl (0.117-2build5) ... 660s Setting up libnet-idn-encode-perl (2.500-5build1) ... 660s Setting up libclass-singleton-perl (1.6-2) ... 660s Setting up libtime-moment-perl (0.44-2build5) ... 660s Setting up libxstring-perl:armhf (0.005-2build4) ... 660s Setting up libsereal-encoder-perl (5.004+ds-1build4) ... 660s Setting up libclass-data-inheritable-perl (0.10-1) ... 660s Setting up libalgorithm-c3-perl (0.11-2) ... 660s Setting up libnet-domain-tld-perl (1.75-4) ... 660s Setting up libtype-tiny-xs-perl:armhf (0.025-2build1) ... 660s Setting up libdata-validate-domain-perl (0.15-1) ... 660s Setting up libdevel-stacktrace-perl (2.0500-1) ... 660s Setting up libnamespace-autoclean-perl (0.31-1) ... 660s Setting up libsereal-decoder-perl (5.004+ds-1build4) ... 660s Setting up libeval-closure-perl (0.14-3) ... 660s Setting up libemail-address-xs-perl (1.05-1build5) ... 660s Setting up libsereal-perl (5.004-1) ... 660s Setting up libexception-class-perl (1.45-1) ... 660s Setting up libclass-c3-perl (0.35-2) ... 660s Setting up libmro-compat-perl (0.15-2) ... 660s Setting up libparams-validationcompiler-perl (0.31-1) ... 660s Setting up libspecio-perl (0.48-1) ... 660s Setting up libdatetime-locale-perl (1:1.41-1) ... 660s Setting up libdatetime-timezone-perl (1:2.63-2+2024b) ... 660s Setting up libdatetime-perl (2:1.65-1build3) ... 660s Setting up libdatetime-format-rfc3339-perl (1.8.0-1) ... 660s Setting up autopkgtest-satdep (0) ... 660s Processing triggers for man-db (2.13.0-1) ... 670s (Reading database ... 64865 files and directories currently installed.) 670s Removing autopkgtest-satdep (0) ... 676s autopkgtest [09:04:04]: test autodep8-perl-recommends: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends 676s autopkgtest [09:04:04]: test autodep8-perl-recommends: [----------------------- 679s /usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t .. 679s 1..4 679s ok 1 - Package libjson-schema-modern-perl is known to dpkg 679s ok 2 - Got status information for package libjson-schema-modern-perl 679s ok 3 - Got file list for package libjson-schema-modern-perl 679s # Subtest: all modules in libjson-schema-modern-perl pass the syntax check 679s 1..16 679s ok 1 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Annotation.pm exited successfully 679s ok 2 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Document.pm exited successfully 679s ok 3 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Error.pm exited successfully 679s ok 4 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Result.pm exited successfully 679s ok 5 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/ResultNode.pm exited successfully 679s ok 6 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Utilities.pm exited successfully 679s ok 7 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Applicator.pm exited successfully 679s ok 8 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Content.pm exited successfully 679s ok 9 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Core.pm exited successfully 679s ok 10 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/FormatAnnotation.pm exited successfully 679s ok 11 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/FormatAssertion.pm exited successfully 679s ok 12 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/MetaData.pm exited successfully 679s ok 13 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Unevaluated.pm exited successfully 679s ok 14 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Validation.pm exited successfully 679s ok 15 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary.pm exited successfully 679s ok 16 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern.pm exited successfully 679s ok 4 - all modules in libjson-schema-modern-perl pass the syntax check 679s ok 679s All tests successful. 679s Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.01 sys + 1.38 cusr 0.25 csys = 1.66 CPU) 679s Result: PASS 680s autopkgtest [09:04:08]: test autodep8-perl-recommends: -----------------------] 683s autopkgtest [09:04:11]: test autodep8-perl-recommends: - - - - - - - - - - results - - - - - - - - - - 683s autodep8-perl-recommends PASS (superficial) 687s autopkgtest [09:04:15]: @@@@@@@@@@@@@@@@@@@@ summary 687s autodep8-perl-build-deps PASS 687s autodep8-perl PASS (superficial) 687s autodep8-perl-recommends PASS (superficial)