WIP
Built with blockbuilder.org
Used http://www.json-generator.com/ to generate random data with the following template:
[
'{{repeat(15, 50)}}',
{
index: '{{ index() }}',
name: function (tags) {
var fruits = ['apple', 'banana', 'strawberry', 'mango'];
return fruits[tags.integer(0, fruits.length - 1)];
},
properties: {
color: '{{ random("red","yellow","purple","green") }}',
//pattern: '{{ random("spotted","stripped","none") }}',
size: '{{ random("tiny","small","medium","large","giant") }}',
taste: '{{ random("bitter","sweet","sour","salty","savoury") }}',
weight: '{{ integer(0,400) }}'
}
}
]