| [ | |
| { | |
| "column_names": [ | |
| [ | |
| -1, | |
| "*" | |
| ], | |
| [ | |
| 0, | |
| "staff id" | |
| ], | |
| [ | |
| 0, | |
| "gender" | |
| ], | |
| [ | |
| 0, | |
| "first name" | |
| ], | |
| [ | |
| 0, | |
| "last name" | |
| ], | |
| [ | |
| 0, | |
| "email address" | |
| ], | |
| [ | |
| 0, | |
| "phone number" | |
| ], | |
| [ | |
| 1, | |
| "customer id" | |
| ], | |
| [ | |
| 1, | |
| "customer type code" | |
| ], | |
| [ | |
| 1, | |
| "address line 1" | |
| ], | |
| [ | |
| 1, | |
| "address line 2" | |
| ], | |
| [ | |
| 1, | |
| "town city" | |
| ], | |
| [ | |
| 1, | |
| "state" | |
| ], | |
| [ | |
| 1, | |
| "email address" | |
| ], | |
| [ | |
| 1, | |
| "phone number" | |
| ], | |
| [ | |
| 2, | |
| "product id" | |
| ], | |
| [ | |
| 2, | |
| "parent product id" | |
| ], | |
| [ | |
| 2, | |
| "product category code" | |
| ], | |
| [ | |
| 2, | |
| "date product first available" | |
| ], | |
| [ | |
| 2, | |
| "date product discontinued" | |
| ], | |
| [ | |
| 2, | |
| "product name" | |
| ], | |
| [ | |
| 2, | |
| "product description" | |
| ], | |
| [ | |
| 2, | |
| "product price" | |
| ], | |
| [ | |
| 3, | |
| "complaint id" | |
| ], | |
| [ | |
| 3, | |
| "product id" | |
| ], | |
| [ | |
| 3, | |
| "customer id" | |
| ], | |
| [ | |
| 3, | |
| "complaint outcome code" | |
| ], | |
| [ | |
| 3, | |
| "complaint status code" | |
| ], | |
| [ | |
| 3, | |
| "complaint type code" | |
| ], | |
| [ | |
| 3, | |
| "date complaint raised" | |
| ], | |
| [ | |
| 3, | |
| "date complaint closed" | |
| ], | |
| [ | |
| 3, | |
| "staff id" | |
| ] | |
| ], | |
| "column_names_original": [ | |
| [ | |
| -1, | |
| "*" | |
| ], | |
| [ | |
| 0, | |
| "staff_id" | |
| ], | |
| [ | |
| 0, | |
| "gender" | |
| ], | |
| [ | |
| 0, | |
| "first_name" | |
| ], | |
| [ | |
| 0, | |
| "last_name" | |
| ], | |
| [ | |
| 0, | |
| "email_address" | |
| ], | |
| [ | |
| 0, | |
| "phone_number" | |
| ], | |
| [ | |
| 1, | |
| "customer_id" | |
| ], | |
| [ | |
| 1, | |
| "customer_type_code" | |
| ], | |
| [ | |
| 1, | |
| "address_line_1" | |
| ], | |
| [ | |
| 1, | |
| "address_line_2" | |
| ], | |
| [ | |
| 1, | |
| "town_city" | |
| ], | |
| [ | |
| 1, | |
| "state" | |
| ], | |
| [ | |
| 1, | |
| "email_address" | |
| ], | |
| [ | |
| 1, | |
| "phone_number" | |
| ], | |
| [ | |
| 2, | |
| "product_id" | |
| ], | |
| [ | |
| 2, | |
| "parent_product_id" | |
| ], | |
| [ | |
| 2, | |
| "product_category_code" | |
| ], | |
| [ | |
| 2, | |
| "date_product_first_available" | |
| ], | |
| [ | |
| 2, | |
| "date_product_discontinued" | |
| ], | |
| [ | |
| 2, | |
| "product_name" | |
| ], | |
| [ | |
| 2, | |
| "product_description" | |
| ], | |
| [ | |
| 2, | |
| "product_price" | |
| ], | |
| [ | |
| 3, | |
| "complaint_id" | |
| ], | |
| [ | |
| 3, | |
| "product_id" | |
| ], | |
| [ | |
| 3, | |
| "customer_id" | |
| ], | |
| [ | |
| 3, | |
| "complaint_outcome_code" | |
| ], | |
| [ | |
| 3, | |
| "complaint_status_code" | |
| ], | |
| [ | |
| 3, | |
| "complaint_type_code" | |
| ], | |
| [ | |
| 3, | |
| "date_complaint_raised" | |
| ], | |
| [ | |
| 3, | |
| "date_complaint_closed" | |
| ], | |
| [ | |
| 3, | |
| "staff_id" | |
| ] | |
| ], | |
| "column_types": [ | |
| "text", | |
| "number", | |
| "text", | |
| "text", | |
| "text", | |
| "text", | |
| "text", | |
| "number", | |
| "text", | |
| "text", | |
| "text", | |
| "text", | |
| "text", | |
| "text", | |
| "text", | |
| "number", | |
| "number", | |
| "text", | |
| "time", | |
| "time", | |
| "text", | |
| "text", | |
| "number", | |
| "number", | |
| "number", | |
| "number", | |
| "text", | |
| "text", | |
| "text", | |
| "time", | |
| "time", | |
| "number" | |
| ], | |
| "db_id": "customer_complaints", | |
| "foreign_keys": [ | |
| [ | |
| 25, | |
| 7 | |
| ], | |
| [ | |
| 24, | |
| 15 | |
| ], | |
| [ | |
| 31, | |
| 1 | |
| ] | |
| ], | |
| "primary_keys": [ | |
| 1, | |
| 7, | |
| 15 | |
| ], | |
| "table_names": [ | |
| "staff", | |
| "customers", | |
| "products", | |
| "complaints" | |
| ], | |
| "table_names_original": [ | |
| "Staff", | |
| "Customers", | |
| "Products", | |
| "Complaints" | |
| ] | |
| } | |
| ] |