File size: 4,796 Bytes
c4ac745
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
{
  "customers": {
    "columns": {
      "customer_id": {
        "type": "id",
        "is_int": false
      },
      "customer_zip_code_prefix": {
        "type": "id",
        "is_int": true
      },
      "customer_state": {}
    },
    "order": [
      "customer_id",
      "customer_zip_code_prefix",
      "customer_state"
    ]
  },
  "geolocation": {
    "columns": {
      "geolocation_zip_code_prefix": {
        "type": "id",
        "is_int": true
      },
      "geolocation_state": {},
      "geolocation_lat": {},
      "geolocation_lng": {}
    },
    "order": [
      "geolocation_zip_code_prefix",
      "geolocation_state",
      "geolocation_lat",
      "geolocation_lng"
    ]
  },
  "order_items": {
    "columns": {
      "order_id": {
        "type": "id",
        "is_int": false
      },
      "order_item_id": {},
      "product_id": {
        "type": "id",
        "is_int": false
      },
      "seller_id": {
        "type": "id",
        "is_int": false
      },
      "shipping_limit_date": {
        "type": "datetime",
        "min": "2016-09-19 00:15:34"
      },
      "price": {},
      "freight_value": {}
    },
    "order": [
      "order_id",
      "order_item_id",
      "product_id",
      "seller_id",
      "shipping_limit_date",
      "price",
      "freight_value"
    ]
  },
  "order_payments": {
    "columns": {
      "order_id": {
        "type": "id",
        "is_int": false
      },
      "payment_sequential": {},
      "payment_type": {},
      "payment_installments": {},
      "payment_value": {}
    },
    "order": [
      "order_id",
      "payment_sequential",
      "payment_type",
      "payment_installments",
      "payment_value"
    ]
  },
  "order_reviews": {
    "columns": {
      "review_id": {},
      "order_id": {
        "type": "id",
        "is_int": false
      },
      "review_score": {},
      "review_creation_date": {
        "type": "datetime",
        "min": "2016-10-02 00:00:00"
      },
      "review_answer_timestamp": {
        "type": "datetime",
        "min": "2016-10-07 18:32:28"
      }
    },
    "order": [
      "review_id",
      "order_id",
      "review_score",
      "review_creation_date",
      "review_answer_timestamp"
    ]
  },
  "orders": {
    "columns": {
      "order_id": {
        "type": "id",
        "is_int": false
      },
      "customer_id": {
        "type": "id",
        "is_int": false
      },
      "order_status": {},
      "order_purchase_timestamp": {
        "type": "datetime",
        "min": "2016-09-04 21:15:19"
      },
      "order_approved_at": {
        "type": "datetime",
        "min": "2016-09-15 12:16:38",
        "fillna": -1.0
      },
      "order_delivered_carrier_date": {
        "type": "datetime",
        "min": "2016-10-08 10:34:01",
        "fillna": -1.0
      },
      "order_delivered_customer_date": {
        "type": "datetime",
        "min": "2016-10-11 13:46:32",
        "fillna": -1.0
      },
      "order_estimated_delivery_date": {
        "type": "datetime",
        "min": "2016-09-30 00:00:00"
      }
    },
    "order": [
      "order_id",
      "customer_id",
      "order_status",
      "order_purchase_timestamp",
      "order_approved_at",
      "order_delivered_carrier_date",
      "order_delivered_customer_date",
      "order_estimated_delivery_date"
    ]
  },
  "products": {
    "columns": {
      "product_id": {
        "type": "id",
        "is_int": false
      },
      "product_category_name": {
        "fillna": "<special-for-null>"
      },
      "product_name_lenght": {
        "fillna": 4.0
      },
      "product_description_lenght": {
        "fillna": 3.0
      },
      "product_photos_qty": {
        "fillna": 0.0
      },
      "product_weight_g": {
        "fillna": -1.0
      },
      "product_length_cm": {
        "fillna": 6.0
      },
      "product_height_cm": {
        "fillna": 1.0
      },
      "product_width_cm": {
        "fillna": 5.0
      }
    },
    "order": [
      "product_id",
      "product_category_name",
      "product_name_lenght",
      "product_description_lenght",
      "product_photos_qty",
      "product_weight_g",
      "product_length_cm",
      "product_height_cm",
      "product_width_cm"
    ]
  },
  "sellers": {
    "columns": {
      "seller_id": {
        "type": "id",
        "is_int": false
      },
      "seller_zip_code_prefix": {
        "type": "id",
        "is_int": true
      },
      "seller_state": {}
    },
    "order": [
      "seller_id",
      "seller_zip_code_prefix",
      "seller_state"
    ]
  }
}