libcruft-util/test/json/schema/unsigned_max.schema
Danny Robson d9713fe8b7 json/tree: fix signed min, unsigned max constraints
signed/unsigned casting issues prevented correct comparisons with the
min/max constraints. account for the source type's range before doing the
comparison.
2016-09-20 16:02:08 +10:00

2 lines
35 B
Plaintext

{ "type": "number", "maximum": 1 }