Skip to content

Instantly share code, notes, and snippets.

@jiananlu
Created May 31, 2014 07:39
Show Gist options
  • Save jiananlu/e00aed12d7bb26eff093 to your computer and use it in GitHub Desktop.
Save jiananlu/e00aed12d7bb26eff093 to your computer and use it in GitHub Desktop.
{
"rows": 200,
"fields": [
{
"name": "ID",
"type": "rand:char",
"length": 5
},
{
"name": "First Name",
"type": "fixed",
"values": ["Peter", "Tom", "Jane", "Tony", "Steve", "John"]
},
{
"name": "Last Name",
"type": "faker:name:last_name",
"inject": ["Lu", "Smith"]
},
{
"name": "City",
"type": "faker:address:city",
"rotate": "rows/5"
},
{
"name": "State",
"type": "faker:address:state_abbr",
"rotate": 10,
"inject": ["CA"]
},
{
"name": "Age",
"type": "rand:int",
"range": [10, 80]
},
{
"name": "Height",
"type": "rand:float",
"range": [150, 190],
"inject": [200, 210],
"rotate": 20,
"precision": 2
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment