{ "description": "the example how to create a json template to generate new jsons", "note": "the prefix | in a field name signals that the field carries a function to generate data.", "record": { "|type": "str_from_list(business,technical,analytical)", "technical":{ "|id": "uuid()", "|index": "seq()", "|update_tm": "dt()", "|created_tm": "dt(%Y-%m-%d %H:%M:%S)" }, "|is_active": "bool()", "|name": "str(10,customer)", "|email": "str(5,,@gmail.com)", "|code": "str(5,,'(code)')", "|dsc": "str(200)", "geo": { "|country": "str_from_file(jsons/countries,,)", "|city": "str_from_file(jsons/cities,\n)", "|street": "str(10,,-street)", "|house": "int(1,1000)" }, "|id_parent": "int_from_list(1,2,3,4,5,6,7)", "|related_records": "int(1,1000) -> array(5)" } }