An open API service for software projects hosted on Open Collective.

github.com/json-schema-org/JSON-Schema-Test-Suite

A language agnostic test suite for the JSON Schema specifications
https://github.com/json-schema-org/JSON-Schema-Test-Suite

add $recursiveAnchor to 2019-09 meta-schemas

bf0360f4b7c51b8f968aabe7f3f49e12b120fc85 authored over 1 year ago
add $dynamicAnchor to meta-schemas

0519d1f0e77df066f6704812d65e12e9a44e7c65 authored over 1 year ago
Merge pull request #714 from json-schema-org/more-not

Add tests for not: {} schemas for all values.

b41167c7468403eaaf88f2b05f835dce16c8403f authored over 1 year ago
Add tests for not: {} schemas for all values.

One would think these would be quite trivial tests... but
not all implementations pass them surp...

4221a55ab7d701fdb4391d18d6a7041c841b829b authored over 1 year ago
Merge pull request #713 from spacether/patch-1

Update README.md

c499d1d2ae615ab0c448882115ddaa9930ff40d3 authored over 1 year ago
Update README.md

Adds openapi json schema generator to Java section because it now supports generation and valida...

24a471bdf3abccf294f844df1ad3e71d5ad3bedd authored over 1 year ago
Merge pull request #712 from otto-ifak/main

Add tests for enum validation with arrays of boolean values

544f7c3df93b69f84f587b345f2835c380e43226 authored over 1 year ago
Add tests for enum with array of bool

9dad3ebe23e6d348a893a6378a0908eace464d52 authored over 1 year ago
Merge pull request #706 from marksparkza/unevaluated-before-ref

Test early placement of unevaluatedItems|Properties with $ref

589a08581ac1528df9a5422fba56b33cef2497a0 authored over 1 year ago
Merge pull request #710 from spacether/patch-1

Updates min/maxLenth tests to mention graphemes rather than unicode code points

64d5cab911f1fefab6e46ab6e4cc3db2c1f83b61 authored over 1 year ago
Removes idea folder

418cdbd6c225763dd0547b6e309c1c1949f36871 authored over 1 year ago
Updates all other tests to mention grapheme/graphemes

e0a9e066dbe056f898bc74fa9187d78ab5434f11 authored over 1 year ago
Merge pull request #701 from json-schema-org/ether/dynamicRef-boolean

test when $dynamicRef references a boolean schema

217bf81b7ef6fec0f20e5466824a65a9370db773 authored over 1 year ago
I remove a test that doesn't make sense.

7a3d06d7171e8f8b74e1ff456dd2736b57fc0589 authored over 1 year ago
Move tests with ids in non-schemas to optional

e8bf453d266f58eb3a42279b698d9e31718ad589 authored over 1 year ago
Update minLength.json

Updates the language for the test that verifies that one grapheme is too short when checked agai...

69136952196a63a7553803935feaeaec57a48420 authored over 1 year ago
Fix duplidate identifiers in recently added tests

d545be21272c53bbb8b93f5d2bf394e25b5c4e86 authored over 1 year ago
test when $dynamicRef references a boolean schema

4e9640c8241ac2a01f95a3714b07c00668552e0f authored over 1 year ago
Merge pull request #705 from json-schema-org/gregsdennis/remove-contains-objects-tests

contains no longer applies to objects

3dab98cae07f244afcb278c0b7a03c0d8975a3de authored over 1 year ago
remove more maxContains

1d3aa4955f8240a891a2eae3a065aa07de6e7261 authored over 1 year ago
Test unevaluatedItems|Properties before $ref

4a2c61e84b9d978db466818d4563925faf9d0362 authored over 1 year ago
contains no longer applies to objects

ec553d7653954c63b35461a2dcc0e996cfff2281 authored over 1 year ago
Merge pull request #704 from big-andy-coates/clarify-format-requirements

Add more detail around test runner requirements for `format` tests

0433a2bf827d3039c272e831049a6e58deab787d authored over 1 year ago
Merge pull request #703 from big-andy-coates/link-to-creek-validator-comprison-site

Add Creek's JSON Schema Validation comparison site

c685195f61c379a10bcdd9d8c3b9e5e0cd8d91c7 authored over 1 year ago
Add more detail around test runner requirements for `format` tests

fixes: #702

a46174b04db529a1c4b77683eb75216b30f98d11 authored over 1 year ago
The site linked to is a data-driven functional and performance benchmark of JVM based validator implementations.

Micro-site: https://www.creekservice.org/json-schema-validation-comparison/
Repo: https://github...

bb1de8a97fed78a2b7feb1f57d59e55d9187613a authored over 1 year ago
Merge pull request #696 from jdesrosiers/unevaluated-dynamicref

Add tests for unevaluated with dynamic reference

d38ddd543ebc81e5c23ab03d6598c06563c38a17 authored over 1 year ago
Fix copy/paste error

5d0c05fa60652e91ce5f95859c7b4751668a4e8a authored over 1 year ago
Merge pull request #694 from json-schema-org/heterogeneous-additionalItems

Add tests for heterogeneous arrays with additionalItems

95fe6ca20a90a019f4538f3670b6dd49d91dfdee authored over 1 year ago
Merge pull request #697 from json-schema-org/gregsdennis/add-ref-into-known-nonapplicator

add optional tests for `$ref`ing into known non-applicator keywords

9c88a0be535e1a92f90fc5795a54616c9cf486c1 authored over 1 year ago
Add unevaluted with dynamic ref tests to draft-next

492220466f4133b45b57654ae70eaba2b83f8211 authored over 1 year ago
Update unevaluted with dynamic ref to be more likely to catch errors

8ba1c90dc62b9ddd6c2efc2c395d122a8d68135d authored over 1 year ago
add tests for 2019 and 2020

fea2cf192ebd7d381628884dc20f1c3d2d98754c authored almost 2 years ago
add optional tests for `$ref`ing into known non-applicator keywords

6695ca38536a713c5427e790d00e670c80df8cf6 authored almost 2 years ago
Add tests for unevaluated with dynamic reference

2834c6306c3c72983ab2a6572d3dc7f3bb4d4c83 authored almost 2 years ago
Merge pull request #695 from json-schema-org/ether/clean-up-subSchemas

clean up subSchemas

cda4281c46226b980cbf9db4610f03d9f718e533 authored almost 2 years ago
move subSchemas-defs.json to subSchemas.json

7b9f45c2e09609d704a3b8d89e8a79e3e5311b5e authored almost 2 years ago
remove unused definition files

e41ec0eccb958b312118e4ae9c01b9711efa1665 authored almost 2 years ago
Merge pull request #692 from json-schema-org/ether/fix-subSchemas-refs

fix subschema locations and their $refs

349c5a8210beff0b3246204b2a16895c9e669d87 authored almost 2 years ago
Merge pull request #670 from marksparkza/invalid-output-test

Remove invalid output tests

451baca48ccef77248b8d65826b9f8f69ba2e7eb authored almost 2 years ago
Add tests for heterogeneous arrays with additionalItems

We actually don't have any of these!

Ref: python-jsonschema/jsonschema#1157

b8da838ac701b9a2df6beb4415267fe5238cc7a6 authored almost 2 years ago
fix subschema locations and their $refs

I found this while adding checks for $refs to non-schema locations to my implementation.

6d7a44b73b4047c1efdabd437160e26ed95532e2 authored almost 2 years ago
Merge pull request #690 from skryukov/add-ipv4-mask-test

Add a test case for ipv4 with netmask

a9a1e2e347c3b7e840a1a2052cc7182072b23ac0 authored almost 2 years ago
Merge pull request #689 from skryukov/add-schema-keyword-to-required-tests

Add missing $schema keyword to required test cases

ba52c48ac0725d1d5323d8083a5149e1d20e8a40 authored almost 2 years ago
Add a test case for ipv4 with netmask

69b53adda41d9c42ca0dd9862f8f8b678a5f31da authored almost 2 years ago
Add $schema keyword to required tests

d0c602a700964f1e3fc2f633cec65ee1fe1d0be1 authored almost 2 years ago
Merge pull request #688 from spacether/feat_updates_python_exp_impl

Updates python-experimental implementation

20f1f52c3e1fe9fd56b125eebc3b92a7d3e3e3df authored almost 2 years ago
Updates implmentation

b087b3ca8d6ea1ec875eae920979495452cb9b2f authored almost 2 years ago
Merge pull request #687 from swaeberle/check-single-label-idn-hostnames

test single label IDN hostnames

4ecd01f30bce36a61224fa0f46c2c3f0cf7481dc authored almost 2 years ago
test single label IDN hostnames

Also check if IDN hostnames comply to single label rules from RFC1123.

Signed-off-by: Stephan W...

732e7275a875f930fd1e8ec9a4056bf5a70280eb authored almost 2 years ago
Merge pull request #685 from swaeberle/check-single-label-hostnames

test single label hostnames

ab3924a663d2f9e6de844f464d185a70d881b9ed authored almost 2 years ago
do not test hostname with leading digit for older drafts

Drafts 4, 6, and 7 are based on RFC1034, not allowing a leading digit
in hostnames. This was ext...

9265a4fa9a0bd434759f6e3b65812ef11beb1bb1 authored almost 2 years ago
do not allow starting digits in hostnames for older drafts

Drafts 4, 6, and 7 are referencing RFC1034, which, in contrast to
RFC1123, does not allow a star...

261b52db117135d75c9c87363d61d6281c4a9d97 authored almost 2 years ago
test digits in hostnames

Both, RFC1034 and RFC1123, allow hostnames with digits in between and at
the end.

Signed-off-by...

9fc231ea4a8a1b6309e5a3b7850ca200952f1ad8 authored almost 2 years ago
test plain single label hostnames

Signed-off-by: Stephan Wurm <[email protected]>

e9b20158ee08f7bf869f4c43ebe60db0ec915076 authored almost 2 years ago
test valid single label hostnames

RFC1123 allows single label hostnames with hyphens in between and
starting with a digit.

Signed...

c8b57093dd1add7e292f89162815e86a9d4baf82 authored almost 2 years ago
Merge pull request #682 from json-schema-org/useless-branch

Bump the sanity check to use a released version of jsonschema

299aa7fe5cfd646654a38d7ea54b5d421cc345e5 authored almost 2 years ago
Bump the sanity check to use a released version of jsonschema

It was previously pinned to an alpha.

fbb3cac60f2698a2c2e06af2773ae9402c2b927f authored almost 2 years ago
Merge pull request #681 from json-schema-org/gregsdennis/ref-to-ref-to-non-local-target

update previous test set to consistently use file extensions; add to draft-next

5cc9214e82f1e0a5e9644960b6fe0166afb7b283 authored almost 2 years ago
update previous test set to consistently use file extensions; add to draft-next

c946d36716cfe38051e81342968d22e487bc619a authored almost 2 years ago
Merge pull request #679 from json-schema-org/gregsdennis/ref-to-ref-to-non-local-target

added tests for checking the entire resource for anchors instead of just the local subschema

a0097d4d0a14aa62e7bfbcb605be5f7869975213 authored almost 2 years ago
added tests for checking the entire resource for anchors instead of just the local subschema

8b69249a1a18909946115eb0df45127d81f76a0c authored almost 2 years ago
Simplify test for dynamic ref with multiple paths

e93077e20ab6d3314d9c5c9cbee40b334e650025 authored about 2 years ago
A whole new version of multiple dynamic paths

cd441d2e4b340b6a6a838864b9ffb22cfe279a7d authored about 2 years ago
Port new multiple dynamic paths test to draft-next

8cdfac41e37527795879e480a483997cbd6188f3 authored about 2 years ago
Add tests for non-relative URI anchor referencing

b069ac352c3dc1fae71f6f177dafe97001c97920 authored about 2 years ago
Merge pull request #674 from jmigual/feature/alah

Add comment about live at head philosophy

7950d9e0579382103031ef3cfcdc37e7c58b2d1f authored about 2 years ago
Changed description about `main` branch

e6a089ae91512eff0e3c4c94ff3c4e2cc3ad4516 authored about 2 years ago
Add comment about live at head philosophy

b3c0747739bd6c18143598fbc1868611e9630860 authored about 2 years ago
Merge pull request #671 from marksparkza/schemaloc-fragment

Include fragment in schemaLocation

ab4bd012fc9e536a55814f3f38e62bb28aa1dab3 authored about 2 years ago
Include fragment in schemaLocation

https://github.com/json-schema-org/json-schema-spec/blob/70af7dcf147759f9eaecae5c574f0b36cc86a27...

e7aba0972b42aad0694c4e17f5215f5cfe62e671 authored over 2 years ago
Remove invalid output tests

The 2019-09 and 2020-12 specifications do not require an output unit to be generated for a passi...

ea0b63c99f0ec7debe5cf06ccee8362412aa5cb4 authored over 2 years ago
Merge pull request #664 from santhosh-tekuri/empty-tokens

ref: test empty tokens in json-pointer

6afa9b38d84d45550ec703123eb4e8ec67a8ae75 authored over 2 years ago
Bump the python-jsonschema version used for the sanity check.

The test in this PR (#664) actually trips a bug in the older version
(where it doesn't properly ...

e4bceb1ad293afc33ca960754c16d85ca0728e7c authored over 2 years ago
Merge pull request #128 from iainbeeston/foundations-of-json-schema-paper

Added test cases from Foundations of JSON Schema research paper

8025fc0d509244e6ab30f0838b761b934bbca1f9 authored over 2 years ago
Make all root $ids absolute URIs

cf7677078d2e9906deb43b5375a3166b203c514a authored over 2 years ago
Added test cases from Foundations of JSON Schema research paper

In the 25th internationl world wide web conference there was a paper
named "Foundations of JSON...

07fd389a3e6511e186220745209a2e795212aedc authored over 2 years ago
ref: test empty tokens in json-pointer

1008edcee8f9ca1e904153912b1cbf914aa38800 authored over 2 years ago
Merge pull request #627 from json-schema-org/ether/output-readme-fixes

minor spelling and markdown formatting fixes

9beb3cfba309c32c37053bb5db53a44f93be23d6 authored over 2 years ago
minor edit to trigger gh action

f2b0490ba15066d1d372e89b285dc5b5d1459e24 authored over 2 years ago
Merge pull request #669 from hauner/typo

typo

c305ce54f65b9547048479760d9a7bd4a6b747d2 authored over 2 years ago
Merge pull request #668 from hauner/if-without-then-else-creates-annotations

test if without then/else creates annotations

5e2845c1ecf1729988cc92e5aa685f628e18bb0d authored over 2 years ago
typo

2f1df22939b1b040da48a77a88134b7c75fa6fbd authored over 2 years ago
test unevaluated* can see annotations from if without then/else

c1fae0022593ab435e99028791f71fd7b05c9bbb authored over 2 years ago
Merge pull request #666 from json-schema-org/gregsdennis/file-refs

Add tests for refs into schemas with `file://` URI `$id`

987a4c8fc4468f37c555db362f5de5f9052a13ff authored over 2 years ago
fix *nix uris

90b2a58ceb00453293cc346f82b5215792726fec authored over 2 years ago
rename tests to fix sanity check

68d18c6ac498cca351488a475fa2488f8a4591c1 authored over 2 years ago
fix indentation

e9166bcbe09d4dcec8d3261127a0d6185922ee61 authored over 2 years ago
add file-id ref tests

1d1ec749a6d22a56842ac48943dd414e44231924 authored over 2 years ago
Merge pull request #663 from json-schema-org/ether/restore-format-tests

Revert "Revert "by default, "format" only annotates, not validates""

fb60ed17cc02cd0acf841939a50e72e0af88cc62 authored over 2 years ago
Revert "Revert "by default, "format" only annotates, not validates""

This reverts the parts of commit 0173a0835468bcba04b3eb578fc33f587e3abcc6
that pertain to draft2...

f32cd8b8059f58d618fc62cb4ba215a694fa40a7 authored over 2 years ago
Merge pull request #654 from santhosh-tekuri/output-escape

output: ensure ~ and / are escaped in json-pointer

47958f82d0ca44b82f3fb32744a0fb5aead191a6 authored over 2 years ago
Merge pull request #661 from santhosh-tekuri/2019-output

output-tests: correct 2019 output-schema.json

5262997e13c1c59ab4ca6c51f9f9009aaf9a2e86 authored over 2 years ago
output-tests: correct 2019 output-schema.json

Fixes Issue #656

ce2c165733177aa2ef89b5f5b748629aee6008ed authored over 2 years ago
Merge pull request #659 from jvtm/python311-date-iso8601-values

test: cover ISO8601 date values accepted by Python 3.11 datetime module

0788c226aa30f5e8fa862f4aa80e59a0f5186597 authored over 2 years ago
test: cover ISO8601 date values accepted by Python 3.11 datetime module

Python 3.11 `datetime` module allows additional ISO8601 date, time and
date-time formats that ar...

4248f3c7375394e30619d271f37c164da346e378 authored over 2 years ago
test: unevaluatedProperties not affected by propertyNames

19947eaa1289168a49edd21bb7a8aa2098069ae0 authored over 2 years ago
output: ensure ~ and / are escaped in json-pointer

c9d9438565b27cf97f6b3160947d628c81effd49 authored over 2 years ago
Check that large integers are multiples of small multipleOf

82927063139a4ec7a72b65c6fcb6806a3bf92275 authored over 2 years ago
Merge pull request #647 from santhosh-tekuri/ref-start-slash

test: $ref with absolute-path-reference

b59543f6e6410da6ee8ed35294709ef55e677e92 authored over 2 years ago