json.number
Randomly generates decimal or integer values.
Attributes
minimumoptionalThe minimum value (inclusive) to be generated. Corresponds to the minimum JSON schema keyword. The default value is -1.7976931348623157×10308.
maximumoptionalThe maximum value (inclusive) to be generated. Corresponds to the maximum JSON schema keyword. The default value is 1.7976931348623157×10308.
Examples
Unbounded:
{
"type": "number"
}Bounded:
{
"type": "number",
"minimum": -3.14,
"maximum": 2.71
}