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
bf0360f4b7c51b8f968aabe7f3f49e12b120fc85 authored over 1 year ago
0519d1f0e77df066f6704812d65e12e9a44e7c65 authored over 1 year ago
Add tests for not: {} schemas for all values.
b41167c7468403eaaf88f2b05f835dce16c8403f authored over 1 year ago
One would think these would be quite trivial tests... but
not all implementations pass them surp...
Update README.md
c499d1d2ae615ab0c448882115ddaa9930ff40d3 authored over 1 year agoAdds openapi json schema generator to Java section because it now supports generation and valida...
24a471bdf3abccf294f844df1ad3e71d5ad3bedd authored over 1 year agoAdd tests for enum validation with arrays of boolean values
544f7c3df93b69f84f587b345f2835c380e43226 authored over 1 year ago9dad3ebe23e6d348a893a6378a0908eace464d52 authored over 1 year ago
Test early placement of unevaluatedItems|Properties with $ref
589a08581ac1528df9a5422fba56b33cef2497a0 authored over 1 year agoUpdates min/maxLenth tests to mention graphemes rather than unicode code points
64d5cab911f1fefab6e46ab6e4cc3db2c1f83b61 authored over 1 year ago418cdbd6c225763dd0547b6e309c1c1949f36871 authored over 1 year ago
e0a9e066dbe056f898bc74fa9187d78ab5434f11 authored over 1 year ago
test when $dynamicRef references a boolean schema
217bf81b7ef6fec0f20e5466824a65a9370db773 authored over 1 year ago7a3d06d7171e8f8b74e1ff456dd2736b57fc0589 authored over 1 year ago
e8bf453d266f58eb3a42279b698d9e31718ad589 authored over 1 year ago
Updates the language for the test that verifies that one grapheme is too short when checked agai...
69136952196a63a7553803935feaeaec57a48420 authored over 1 year agod545be21272c53bbb8b93f5d2bf394e25b5c4e86 authored over 1 year ago
4e9640c8241ac2a01f95a3714b07c00668552e0f authored over 1 year ago
contains no longer applies to objects
3dab98cae07f244afcb278c0b7a03c0d8975a3de authored over 1 year ago1d3aa4955f8240a891a2eae3a065aa07de6e7261 authored over 1 year ago
4a2c61e84b9d978db466818d4563925faf9d0362 authored over 1 year ago
ec553d7653954c63b35461a2dcc0e996cfff2281 authored over 1 year ago
Add more detail around test runner requirements for `format` tests
0433a2bf827d3039c272e831049a6e58deab787d authored over 1 year agoAdd Creek's JSON Schema Validation comparison site
c685195f61c379a10bcdd9d8c3b9e5e0cd8d91c7 authored over 1 year agofixes: #702
a46174b04db529a1c4b77683eb75216b30f98d11 authored over 1 year ago
Micro-site: https://www.creekservice.org/json-schema-validation-comparison/
Repo: https://github...
Add tests for unevaluated with dynamic reference
d38ddd543ebc81e5c23ab03d6598c06563c38a17 authored over 1 year ago5d0c05fa60652e91ce5f95859c7b4751668a4e8a authored over 1 year ago
Add tests for heterogeneous arrays with additionalItems
95fe6ca20a90a019f4538f3670b6dd49d91dfdee authored over 1 year agoadd optional tests for `$ref`ing into known non-applicator keywords
9c88a0be535e1a92f90fc5795a54616c9cf486c1 authored over 1 year ago492220466f4133b45b57654ae70eaba2b83f8211 authored over 1 year ago
8ba1c90dc62b9ddd6c2efc2c395d122a8d68135d authored over 1 year ago
fea2cf192ebd7d381628884dc20f1c3d2d98754c authored almost 2 years ago
6695ca38536a713c5427e790d00e670c80df8cf6 authored almost 2 years ago
2834c6306c3c72983ab2a6572d3dc7f3bb4d4c83 authored almost 2 years ago
clean up subSchemas
cda4281c46226b980cbf9db4610f03d9f718e533 authored almost 2 years ago7b9f45c2e09609d704a3b8d89e8a79e3e5311b5e authored almost 2 years ago
e41ec0eccb958b312118e4ae9c01b9711efa1665 authored almost 2 years ago
fix subschema locations and their $refs
349c5a8210beff0b3246204b2a16895c9e669d87 authored almost 2 years agoRemove invalid output tests
451baca48ccef77248b8d65826b9f8f69ba2e7eb authored almost 2 years agoWe actually don't have any of these!
Ref: python-jsonschema/jsonschema#1157
b8da838ac701b9a2df6beb4415267fe5238cc7a6 authored almost 2 years agoI found this while adding checks for $refs to non-schema locations to my implementation.
6d7a44b73b4047c1efdabd437160e26ed95532e2 authored almost 2 years agoAdd a test case for ipv4 with netmask
a9a1e2e347c3b7e840a1a2052cc7182072b23ac0 authored almost 2 years agoAdd missing $schema keyword to required test cases
ba52c48ac0725d1d5323d8083a5149e1d20e8a40 authored almost 2 years ago69b53adda41d9c42ca0dd9862f8f8b678a5f31da authored almost 2 years ago
d0c602a700964f1e3fc2f633cec65ee1fe1d0be1 authored almost 2 years ago
Updates python-experimental implementation
20f1f52c3e1fe9fd56b125eebc3b92a7d3e3e3df authored almost 2 years agob087b3ca8d6ea1ec875eae920979495452cb9b2f authored almost 2 years ago
test single label IDN hostnames
4ecd01f30bce36a61224fa0f46c2c3f0cf7481dc authored almost 2 years agoAlso check if IDN hostnames comply to single label rules from RFC1123.
Signed-off-by: Stephan W...
732e7275a875f930fd1e8ec9a4056bf5a70280eb authored almost 2 years agotest single label hostnames
ab3924a663d2f9e6de844f464d185a70d881b9ed authored almost 2 years ago
Drafts 4, 6, and 7 are based on RFC1034, not allowing a leading digit
in hostnames. This was ext...
Drafts 4, 6, and 7 are referencing RFC1034, which, in contrast to
RFC1123, does not allow a star...
Both, RFC1034 and RFC1123, allow hostnames with digits in between and at
the end.
Signed-off-by...
9fc231ea4a8a1b6309e5a3b7850ca200952f1ad8 authored almost 2 years agoSigned-off-by: Stephan Wurm <[email protected]>
e9b20158ee08f7bf869f4c43ebe60db0ec915076 authored almost 2 years ago
RFC1123 allows single label hostnames with hyphens in between and
starting with a digit.
Signed...
c8b57093dd1add7e292f89162815e86a9d4baf82 authored almost 2 years agoBump the sanity check to use a released version of jsonschema
299aa7fe5cfd646654a38d7ea54b5d421cc345e5 authored almost 2 years agoIt was previously pinned to an alpha.
fbb3cac60f2698a2c2e06af2773ae9402c2b927f authored almost 2 years agoupdate previous test set to consistently use file extensions; add to draft-next
5cc9214e82f1e0a5e9644960b6fe0166afb7b283 authored almost 2 years agoc946d36716cfe38051e81342968d22e487bc619a authored almost 2 years ago
added tests for checking the entire resource for anchors instead of just the local subschema
a0097d4d0a14aa62e7bfbcb605be5f7869975213 authored almost 2 years ago8b69249a1a18909946115eb0df45127d81f76a0c authored almost 2 years ago
e93077e20ab6d3314d9c5c9cbee40b334e650025 authored about 2 years ago
cd441d2e4b340b6a6a838864b9ffb22cfe279a7d authored about 2 years ago
8cdfac41e37527795879e480a483997cbd6188f3 authored about 2 years ago
b069ac352c3dc1fae71f6f177dafe97001c97920 authored about 2 years ago
Add comment about live at head philosophy
7950d9e0579382103031ef3cfcdc37e7c58b2d1f authored about 2 years agoe6a089ae91512eff0e3c4c94ff3c4e2cc3ad4516 authored about 2 years ago
b3c0747739bd6c18143598fbc1868611e9630860 authored about 2 years ago
Include fragment in schemaLocation
ab4bd012fc9e536a55814f3f38e62bb28aa1dab3 authored about 2 years agohttps://github.com/json-schema-org/json-schema-spec/blob/70af7dcf147759f9eaecae5c574f0b36cc86a27...
e7aba0972b42aad0694c4e17f5215f5cfe62e671 authored over 2 years agoThe 2019-09 and 2020-12 specifications do not require an output unit to be generated for a passi...
ea0b63c99f0ec7debe5cf06ccee8362412aa5cb4 authored over 2 years agoref: test empty tokens in json-pointer
6afa9b38d84d45550ec703123eb4e8ec67a8ae75 authored over 2 years ago
The test in this PR (#664) actually trips a bug in the older version
(where it doesn't properly ...
Added test cases from Foundations of JSON Schema research paper
8025fc0d509244e6ab30f0838b761b934bbca1f9 authored over 2 years agocf7677078d2e9906deb43b5375a3166b203c514a authored over 2 years ago
In the 25th internationl world wide web conference there was a paper
named "Foundations of JSON...
1008edcee8f9ca1e904153912b1cbf914aa38800 authored over 2 years ago
minor spelling and markdown formatting fixes
9beb3cfba309c32c37053bb5db53a44f93be23d6 authored over 2 years agof2b0490ba15066d1d372e89b285dc5b5d1459e24 authored over 2 years ago
typo
c305ce54f65b9547048479760d9a7bd4a6b747d2 authored over 2 years agotest if without then/else creates annotations
5e2845c1ecf1729988cc92e5aa685f628e18bb0d authored over 2 years ago2f1df22939b1b040da48a77a88134b7c75fa6fbd authored over 2 years ago
c1fae0022593ab435e99028791f71fd7b05c9bbb authored over 2 years ago
Add tests for refs into schemas with `file://` URI `$id`
987a4c8fc4468f37c555db362f5de5f9052a13ff authored over 2 years ago90b2a58ceb00453293cc346f82b5215792726fec authored over 2 years ago
68d18c6ac498cca351488a475fa2488f8a4591c1 authored over 2 years ago
e9166bcbe09d4dcec8d3261127a0d6185922ee61 authored over 2 years ago
1d1ec749a6d22a56842ac48943dd414e44231924 authored over 2 years ago
Revert "Revert "by default, "format" only annotates, not validates""
fb60ed17cc02cd0acf841939a50e72e0af88cc62 authored over 2 years ago
This reverts the parts of commit 0173a0835468bcba04b3eb578fc33f587e3abcc6
that pertain to draft2...
output: ensure ~ and / are escaped in json-pointer
47958f82d0ca44b82f3fb32744a0fb5aead191a6 authored over 2 years agooutput-tests: correct 2019 output-schema.json
5262997e13c1c59ab4ca6c51f9f9009aaf9a2e86 authored over 2 years agoFixes Issue #656
ce2c165733177aa2ef89b5f5b748629aee6008ed authored over 2 years agotest: cover ISO8601 date values accepted by Python 3.11 datetime module
0788c226aa30f5e8fa862f4aa80e59a0f5186597 authored over 2 years ago
Python 3.11 `datetime` module allows additional ISO8601 date, time and
date-time formats that ar...
19947eaa1289168a49edd21bb7a8aa2098069ae0 authored over 2 years ago
c9d9438565b27cf97f6b3160947d628c81effd49 authored over 2 years ago
82927063139a4ec7a72b65c6fcb6806a3bf92275 authored over 2 years ago
test: $ref with absolute-path-reference
b59543f6e6410da6ee8ed35294709ef55e677e92 authored over 2 years ago