Created
March 26, 2015 04:36
-
-
Save isaldin/80a64134d9a2773d6bdf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
categories: [ | |
'{{repeat(5)}}', | |
{ | |
id: '{{index()+1}}', | |
name: 'category {{index()+1}}', | |
logo: 'http://pbnew.otgroup.kz/assets/uploads/category_logos/{{index()}}.jpg', | |
organizations:[ | |
'{{repeat(5)}}', | |
{ | |
id: '{{(index()+1)*5}}', | |
name: '{{company()}}', | |
logo: 'http://pbnew.otgroup.kz/assets/uploads/organizations/{{index()}}.jpg', | |
order: '{{index()+1}}', | |
contacts: [ | |
'{{repeat(1,2)}}', | |
{ | |
id: '{{index()+1}}', | |
name: '{{lorem(1, "word")}}', | |
gsm_phone: "+65632722{{integer(00, 99)}}", | |
sip_phone: '+65632722{{integer(00, 99)}}', | |
location: { | |
lat: '{{floating(-90.000001, 90)}}', | |
lon: '{{floating(-180.000001, 180)}}', | |
address: '{{street()}}' | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment