Demographics
This page documents field values that are typically associated with users and/or accounts.
Names
Mockd supports the ability to generate values for first names, last names, and full names.
male-first-name - Generate a random first name for a male.
female-first-name - Generate a random first name for a female.
last-name - Generate a random last name.
male-full-name - Generate a random male full name (i.e. first and last name).
female-full-name - Generate a random female full name (i.e. first and last name).
Email
Generate a random email address based on the Mockd domain name. The email addresses generated are not valid email addresses that can send/receive mail. Do not waste your time sending messages to any generated email address.
email - A randomly generated email address associated with the mockd.info domain name.
{
"fields": {
"email": "email"
}
}
{ "email": "34e9c980e86a11777098cf2f62a645ae@mockd.info" }
Phone
Generate a random phone number with several possible formats.
phone-num - Generate a random 10-digit phone number value without any sort of formatting characters.
phone-str - Generate a random 10-digit phone number with formatting characters (i.e. "(800)-555-1234").
Consider using the mask format to fulfill your use case.
Location
Generate random location information. Note: A single location context is maintained for each request. For example, requesting the city, state, zip, and zip-full in the same request will sync up the results so that the request represents a single location.
{
"zip": 91942,
"city": "San Diego",
"street": "4593 Washington Avenue",
"state": "California",
"state-2": "CA",
"zip-full": "91942-0001"
}
street - A randomly generated street address minus city, state, and zip values.
city - A randomly generated city value.
state - Return a random non-abbreviated state value (i.e. "Pennsylvania").
state-2 - Return a random 2 character state value (i.e. "PA").
zip - A randomly generated 5-digit zip code.
zip-full - A randomly generated 5-digit+4 zip code.