get_multiple_users
Generate multiple random user profiles with customizable attributes like nationality, gender, and data fields. Export results in JSON, CSV, SQL, or XML formats for integration needs.
Instructions
Get multiple random users
Input Schema
Name | Required | Description | Default |
---|---|---|---|
count | Yes | Number of users to generate | |
fields | No | ||
format | No | ||
gender | No | ||
nationality | No | ||
nationalityWeights | No | ||
password | No |
Input Schema (JSON Schema)
{
"properties": {
"count": {
"description": "Number of users to generate",
"maximum": 5000,
"minimum": 1,
"type": "number"
},
"fields": {
"properties": {
"mode": {
"default": "include",
"enum": [
"include",
"exclude"
],
"type": "string"
},
"values": {
"items": {
"enum": [
"name",
"phone",
"email",
"location",
"picture",
"dob",
"login",
"registered",
"id",
"cell",
"nat"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"format": {
"properties": {
"csv": {
"properties": {
"delimiter": {
"enum": [
",",
";",
"\t"
],
"type": "string"
},
"includeHeader": {
"type": "boolean"
}
},
"type": "object"
},
"sql": {
"properties": {
"dialect": {
"enum": [
"mysql",
"postgresql",
"sqlite"
],
"type": "string"
},
"includeCreate": {
"type": "boolean"
},
"tableName": {
"type": "string"
}
},
"type": "object"
},
"structure": {
"properties": {
"arrayFormat": {
"enum": [
"brackets",
"comma",
"numbered"
],
"type": "string"
},
"dateFormat": {
"enum": [
"iso",
"unix",
"formatted"
],
"type": "string"
},
"flattenObjects": {
"type": "boolean"
},
"nameFormat": {
"enum": [
"full",
"first_last",
"separate"
],
"type": "string"
},
"nullValues": {
"enum": [
"empty",
"null",
"omit"
],
"type": "string"
}
},
"type": "object"
},
"type": {
"default": "json",
"enum": [
"json",
"csv",
"sql",
"xml"
],
"type": "string"
}
},
"type": "object"
},
"gender": {
"enum": [
"male",
"female"
],
"type": "string"
},
"nationality": {
"oneOf": [
{
"enum": [
"AU",
"BR",
"CA",
"CH",
"DE",
"DK",
"ES",
"FI",
"FR",
"GB",
"IE",
"IN",
"IR",
"MX",
"NL",
"NO",
"NZ",
"RS",
"TR",
"UA",
"US"
],
"type": "string"
},
{
"items": {
"enum": [
"AU",
"BR",
"CA",
"CH",
"DE",
"DK",
"ES",
"FI",
"FR",
"GB",
"IE",
"IN",
"IR",
"MX",
"NL",
"NO",
"NZ",
"RS",
"TR",
"UA",
"US"
],
"type": "string"
},
"type": "array"
}
]
},
"nationalityWeights": {
"patternProperties": {
"^[A-Z]{2}$": {
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"password": {
"properties": {
"charsets": {
"description": "Character sets to include in password",
"items": {
"enum": [
"special",
"upper",
"lower",
"number"
],
"type": "string"
},
"type": "array"
},
"maxLength": {
"description": "Maximum password length (8-64)",
"maximum": 64,
"minimum": 8,
"type": "number"
},
"minLength": {
"description": "Minimum password length (8-64)",
"maximum": 64,
"minimum": 8,
"type": "number"
}
},
"type": "object"
}
},
"required": [
"count"
],
"type": "object"
}