Integer JSON Form
Require a whole number within a range.
How this example works
Quantity uses a number input with step 1. The schema still validates that the submitted JSON value is an integer between 1 and 20.
Quantity
Submitted JSON
Submit the form to see its JSON.