Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Respect ECMA regex syntax for schemas."v3.1.1 | Julian Berman | 2019-10-09 | 1 | -3/+3 |
| | | | | | This reverts commit 1a02f547fda27f2b267fcbd03711fe36e50b7026, reversing changes made to cbb222c145b71abb51e743ad48083c8ba5fa0cdb. | ||||
* | Use JS regex syntax | Zac Hatfield-Dodds | 2019-10-07 | 1 | -3/+3 |
| | | | | Note that js_regex.compile has a cache, just like re.compile, so calling it in loops does a lot of dict lookups but very little work. | ||||
* | And now fix enum. | Julian Berman | 2019-08-01 | 1 | -1/+6 |
| | | | | Closes: #575. | ||||
* | Unskip and fix the const-related compare bug. | Julian Berman | 2019-08-01 | 1 | -8/+15 |
| | | | | Refs: #575 | ||||
* | Split out dependencies for draft 3. | Julian Berman | 2019-01-14 | 1 | -14/+6 |
| | | | | | | | | Draft 3 allowed simple string dependencies, but no later draft does. This also lets us use the same fix for boolean schema nonsense as we just did for items. | ||||
* | Here's an easy way out of this one. | Julian Berman | 2019-01-13 | 1 | -11/+5 |
| | |||||
* | And tests for the same for if/then/else. | Julian Berman | 2019-01-11 | 1 | -3/+2 |
| | |||||
* | Fix the error properties for propertyNames. | Julian Berman | 2019-01-11 | 1 | -1/+0 |
| | | | | | | | | | | | | Note that propertyNames is another example (like #119) of something that needs an additional way to say it has errored on a *key* within the instance. So, that's still missing, but path is not the right thing, same as in the earlier instances. It's also becoming somewhat clear that compound validators should possibly grow a way to become lazy... | ||||
* | Get these out of the way. | Julian Berman | 2019-01-11 | 1 | -157/+0 |
| | |||||
* | Dead. | Julian Berman | 2018-10-01 | 1 | -12/+2 |
| | |||||
* | If/Then/Else.draft7 | Julian Berman | 2018-09-30 | 1 | -0/+13 |
| | |||||
* | More suffix killin'. | Julian Berman | 2018-09-29 | 1 | -2/+2 |
| | |||||
* | Make draft3's any type not be special cased. | Julian Berman | 2018-09-03 | 1 | -2/+0 |
| | | | | | | | Previously, is_any was uncovered/dead code. As a crazy 'side effect', you can redefine the any type now. Go wild. | ||||
* | These are here to stay. | Julian Berman | 2018-08-19 | 1 | -5/+5 |
| | | | | Might as well give 'em names that say that. | ||||
* | Nope, seems unlikely. | Julian Berman | 2018-08-01 | 1 | -0/+12 |
| | | | | | | | items, which has this same singleton checking, fails its tests when this is removed, so probably these are just missing boolean tests. Back in they go. | ||||
* | Handled a level up now. | Julian Berman | 2018-08-01 | 1 | -12/+0 |
| | |||||
* | Fix the contains error message.v3.0.0a1 | Julian Berman | 2018-06-03 | 1 | -1/+1 |
| | |||||
* | Fix the const error message. | Julian Berman | 2018-05-15 | 1 | -3/+1 |
| | |||||
* | Pass the propertyNames test properly now. | Julian Berman | 2017-10-29 | 1 | -0/+3 |
| | |||||
* | Fine | Julian Berman | 2017-10-29 | 1 | -6/+6 |
| | |||||
* | propertyNames | Julian Berman | 2017-10-29 | 1 | -0/+10 |
| | |||||
* | oneOf | Julian Berman | 2017-10-29 | 1 | -0/+28 |
| | |||||
* | minProperties | Julian Berman | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | maxProperties | Julian Berman | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | items | Julian Berman | 2017-10-29 | 1 | -0/+21 |
| | |||||
* | dependencies | Julian Berman | 2017-10-29 | 1 | -0/+5 |
| | |||||
* | contains | Julian Berman | 2017-10-29 | 1 | -0/+10 |
| | |||||
* | Const | Julian Berman | 2017-10-29 | 1 | -0/+7 |
| | |||||
* | bignum | Julian Berman | 2017-10-29 | 1 | -2/+46 |
| | |||||
* | anyOf | Julian Berman | 2017-10-29 | 1 | -0/+18 |
| | |||||
* | allOf | Julian Berman | 2017-10-29 | 1 | -4/+14 |
| | |||||
* | And the additionalProperties tests. | Julian Berman | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | Pass the additionalItems tests. | Julian Berman | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | Address review comments. | Itamar Turner-Trauring | 2017-01-26 | 1 | -3/+6 |
| | |||||
* | Better error message for additionalProperties: false when there are ↵ | Itamar Turner-Trauring | 2017-01-26 | 1 | -2/+12 |
| | | | | patternProperties. | ||||
* | More style fun. | Julian Berman | 2016-11-27 | 1 | -1/+1 |
| | |||||
* | Revert "Made required_draft4 more robust when used with Draft3" | Julian Berman | 2016-10-09 | 1 | -5/+0 |
| | | | | This reverts commit 41f2f8d9658606876786de2564d07fbb5bc619f8. | ||||
* | Made required_draft4 more robust when used with Draft3 | William Speirs | 2016-09-27 | 1 | -0/+5 |
| | |||||
* | Fix formatting error for unique items if instance is tuple. | Igor Davydenko | 2015-05-08 | 1 | -1/+1 |
| | |||||
* | Need to preserve backwards compat for RefResolvers without the new methods. | Julian Berman | 2015-03-21 | 1 | -7/+13 |
| | |||||
* | Remove context manager from ref() validation. | Daniel Nephin | 2015-03-01 | 1 | -1/+6 |
| | |||||
* | Improve mutlipleOf validator with floating point value. | Vincent Pelletier | 2014-12-29 | 1 | -5/+2 |
| | | | | | Rely on system's built-in float tolerance by comparing quotient with cast quotient instead of checking distance to remainder. | ||||
* | Closes maximum issue which wasn't an issue. | Sebastian Mika | 2014-09-23 | 1 | -4/+4 |
| | | | | Remove float conversion on minimum validator to make it work for very negative numbers | ||||
* | All tests pass when adding `float()` conversion on `instance` and `maximum` ↵ | Sebastian Mika | 2014-09-23 | 1 | -4/+4 |
| | | | | and `minimum` in respective validators | ||||
* | Add in float(instance) in maximum validator | Sebastian Mika | 2014-09-23 | 1 | -2/+2 |
| | |||||
* | No idea why this call to float was here. | Julian Berman | 2014-06-01 | 1 | -2/+2 |
| | | | | | | Fix large precision comparisions (even for ints). Closes #166 | ||||
* | Don't floatify the instance in minimum/maximum messages. | Julian Berman | 2013-12-26 | 1 | -6/+4 |
| | |||||
* | Minor formatting. | Julian Berman | 2013-12-22 | 1 | -3/+3 |
| | |||||
* | Format can apply to instances of any type. | Julian Berman | 2013-10-28 | 1 | -4/+1 |
| | | | | Closes #125 | ||||
* | This allows defining custom types | John Anderson | 2013-10-17 | 1 | -1/+1 |
| |