Scalar functions
digitString
Commentary
added in 0.1.13
Generates character strings composed of only digits. Specify the length with n
.
Examples
Generating digit strings
{
"_gen": "digitString",
"n": 5
}
[
"14825",
"93116",
"44264",
"45485",
"37157"
]
Specification
JSON schema
{
"type": "object",
"properties": {
"n": {
"oneOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "object",
"properties": {
"_gen": {
"type": "string"
}
},
"required": [
"_gen"
]
}
]
}
},
"required": [
"n"
]
}