-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.example.json
More file actions
105 lines (105 loc) · 2.49 KB
/
schema.example.json
File metadata and controls
105 lines (105 loc) · 2.49 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
95
96
97
98
99
100
101
102
103
104
105
{
"project_id": "your-project-id",
"dataset_id": "your-dataset-id",
"tables": [
{
"table_name": "users",
"description": "User accounts and profiles",
"num_rows": 15000,
"columns": [
{
"name": "id",
"type": "INTEGER",
"mode": "REQUIRED",
"description": "Primary key"
},
{
"name": "email",
"type": "STRING",
"mode": "REQUIRED",
"description": "User email address"
},
{
"name": "created_at",
"type": "TIMESTAMP",
"mode": "REQUIRED",
"description": "Account creation timestamp"
},
{
"name": "status",
"type": "STRING",
"mode": "NULLABLE",
"description": "Account status (active, inactive, suspended)"
}
]
},
{
"table_name": "orders",
"description": "Customer orders",
"num_rows": 45000,
"columns": [
{
"name": "id",
"type": "INTEGER",
"mode": "REQUIRED",
"description": "Primary key"
},
{
"name": "user_id",
"type": "INTEGER",
"mode": "REQUIRED",
"description": "Foreign key to users table"
},
{
"name": "total_amount",
"type": "FLOAT",
"mode": "REQUIRED",
"description": "Order total in USD"
},
{
"name": "order_date",
"type": "TIMESTAMP",
"mode": "REQUIRED",
"description": "When order was placed"
},
{
"name": "status",
"type": "STRING",
"mode": "REQUIRED",
"description": "Order status (pending, shipped, delivered, cancelled)"
}
]
},
{
"table_name": "products",
"description": "Product catalog",
"num_rows": 500,
"columns": [
{
"name": "id",
"type": "INTEGER",
"mode": "REQUIRED",
"description": "Primary key"
},
{
"name": "name",
"type": "STRING",
"mode": "REQUIRED",
"description": "Product name"
},
{
"name": "price",
"type": "FLOAT",
"mode": "REQUIRED",
"description": "Product price in USD"
},
{
"name": "category",
"type": "STRING",
"mode": "NULLABLE",
"description": "Product category"
}
]
}
]
}