forked from feliixx/mgodatagen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-bookings-100MS0I1.json
65 lines (65 loc) · 1.63 KB
/
config-bookings-100MS0I1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[
{
"database": "flights",
"collection": "bookings100MS0I1",
"count": 100000000,
"content": {
"booking_no": {
"type": "string",
"unique": true,
"minLength": 6,
"maxLength": 6
},
"first_name": {
"type": "enum",
"values": [
"Ali",
"Denis",
"Shree",
"Xavier"
],
"randomOrder": true,
"nullPercentage": 0
},
"last_name": {
"type": "faker",
"method": "LastName"
},
"dob": {
"type": "date"
},
"email": {
"type": "faker",
"method": "Email"
},
"origin": {
"type": "string",
"minLength": 8,
"maxLength": 100
},
"destination": {
"type": "string",
"minLength": 8,
"maxLength": 100
},
"origin": {
"type": "constant",
"constVal": "Nice",
"nullPercentage": 0
},
"destination": {
"type": "constant",
"constVal": "Paris",
"nullPercentage": 0
}
},
"indexes": [
{
"name": "firstName",
"key": {
"first_name": 1
}
}
]
}
]