JSON will allow serialization of numbers outside of the range of their binary counterparts, e.g. max 64 bit long. jsonschema-tools should have a configuration option to automatically materialize schemas with number fields that don't already have maximum and/or minimum validation rules to e.g. max long and max double.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • Gilles | T254606 Invalid navigation timing events | |||
Resolved | • fdans | T258659 jsonschema-tools should have option to materialize schemas with default max/min validation for e.g. max long, max double, etc. | |||
Resolved | Ottomata | T273069 Rematerialize all event schemas with enforceNumericBounds |
Event Timeline
Change 624684 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[schemas/event/primary@master] Temporarily disable numeric bounds enforcement
Change 624685 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[schemas/event/secondary@master] Temporarily disable numeric bounds enforcement
Change 624684 merged by Ottomata:
[schemas/event/primary@master] Temporarily disable numeric bounds enforcement
Change 624685 merged by Ottomata:
[schemas/event/secondary@master] Temporarily disable numeric bounds enforcement
Making note so @fdans can work on adding bounds to schemas that need it when he is back
Change 624803 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[schemas/event/primary@master] Temporarily disable numeric bounds enforcement
Change 624803 abandoned by Ottomata:
[schemas/event/primary@master] Temporarily disable numeric bounds enforcement
Reason:
FYI had to add a few of fixes:
- https://github.com/wikimedia/jsonschema-tools/commit/5e50448c33a1bfaac406d4e680c54b68542925cd
- https://github.com/wikimedia/jsonschema-tools/commit/4cbae0fae63c0db3dac6e7ac764c870462f383da
- https://github.com/wikimedia/jsonschema-tools/commit/543e8507c82e5bf196f31357e2cb7ff79754d041
I shoulda caught those in review!
Change 703249 had a related patch set uploaded (by Ottomata; author: Ottomata):
[schemas/event/primary@master] Rematerialize all schemas wiith enforced numeric bounds
Change 703249 merged by jenkins-bot:
[schemas/event/primary@master] Rematerialize all schemas wiith enforced numeric bounds