-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcomplex_collection.json
More file actions
94 lines (94 loc) · 2.92 KB
/
complex_collection.json
File metadata and controls
94 lines (94 loc) · 2.92 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[
{
"database": "shop",
"collection": "orders",
"fields": {
"_id": {
"type": "objectid"
},
"order_uuid": {
"type": "string",
"provider": "uuid"
},
"created_at": {
"type": "date"
},
"is_priority": {
"type": "bool"
},
"customer": {
"type": "object",
"fields": {
"full_name": {
"type": "string",
"provider": "name"
},
"email": {
"type": "string",
"provider": "email"
},
"phone": {
"type": "string",
"provider": "phone"
},
"address": {
"type": "object",
"fields": {
"city": {
"type": "string",
"provider": "city"
},
"street": {
"type": "string",
"provider": "street"
},
"zip_code": {
"type": "string",
"provider": "zip"
},
"state": {
"type": "string",
"provider": "state_abr"
}
}
}
}
},
"items": {
"type": "array",
"arraySize": 3,
"items": {
"type": "object",
"fields": {
"product_name": {
"type": "string",
"provider": "beer_name"
},
"sku": {
"type": "string",
"provider": "ssn"
},
"price": {
"type": "double",
"min": 10,
"max": 500
},
"quantity": {
"type": "int",
"min": 1,
"max": 5
}
}
}
},
"tags": {
"type": "array",
"arraySize": 2,
"items": {
"type": "string",
"provider": "car_maker"
}
}
}
}
]