schema.integer
Randomly generates integer values.
Attributes
minmum
optional
The minimum value (inclusive) to be generated. Corresponds to the minimum JSON schema keyword. The default value is -9,223,372,036,854,775,808.
maximum
optional
The maximum value (inclusive) to be generated. Corresponds to the maximum JSON schema keyword. The default value is 9,223,372,036,854,775,807.
Examples
Unbounded:
{
"type": "integer"
}
Bounded:
{
"type": "integer",
"minimum": 0,
"maximum": 100
}