Skip to content

JSON Warehouse

Pallavi82 edited this page Jun 27, 2019 · 4 revisions
[
  '{{repeat(20, 7)}}',
  {
    name: '{{firstName()}}',
    image_url: 'http://placehold.it/32x32',
    emailId_owner: '{{email()}}',
    uuid: '{{objectId()}}',
    time_stamp: '{{date(new Date(2014, 0, 1), new Date(), "YYYY-MMMM-dd -- hh:mm:ss ")}}',
    no_of_partitions: '{{integer()}}',
    partitions: [
      '{{repeat(4)}}',
        {
          uuid: '{{objectId()}}',
          type: "{{bool()}}",
          size: "{{integer(random())}}",
          cost: "11100$",
          tenant_info: {
                        name: '{{firstName()}}',
                        email_id: '{{email()}}',
                        mobile_no: '{{phone()}}',
                        start_date: '{{date(new Date(2014, 0, 1), new Date(), "MMMM-YYYY")}}',
                        end_date: '{{date(new Date(2014, 0, 1), new Date(), "MMMM-YYYY")}}'
            }
        }
    ],
    location: '{{city()}}',
    address:'{{integer(100, 999)}} {{street()}}, {{city()}}, {{state()}}, {{integer(100, 10000)}}',
    occupied_partitions: '{{integer()}}'
}
 
]


Clone this wiki locally