Created
February 4, 2016 08:36
-
-
Save MinhasKamal/eeb2e64f8b8bd656d399 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
[ | |
{ | |
'repeat:100': { | |
_id: '{{objectId()}}', | |
title: '{{lorem(4, "words")}}', | |
description: '{{lorem(1, "paragraphs")}}', | |
type: '{{random(["apartment"], ["office space"], ["single room"])}}', | |
city: '{{city()}}', | |
location: '{{street()}}', | |
country_state: '{{state()}}', | |
area: '{{integer(5000, 50000, "0,0")}}', | |
bedroom: '{{integer(1, 10)}}', | |
bathroom: '{{integer(1, 10)}}', | |
car_parking: '{{bool()}}', | |
lift: '{{bool()}}', | |
pets: '{{bool()}}', | |
security: '{{bool()}}', | |
price: '{{integer(1000, 100000, "0,0")}}', | |
image: 'file://{{lorem(1, "words")}}/{{lorem(1, "words")}}.jpg' | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
goto http://www.json-generator.com/, paste the code, & click "generate".